From 8b6796fa5f515b090b0c187e5d1303398868f975 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 18 Nov 2008 00:38:36 +0000 Subject: Synchronize the model rules with the database definitions and vice-versa. --- modules/user/models/group.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/user/models/group.php') diff --git a/modules/user/models/group.php b/modules/user/models/group.php index e9cbbc01..794c0549 100644 --- a/modules/user/models/group.php +++ b/modules/user/models/group.php @@ -19,4 +19,7 @@ */ class Group_Model extends ORM { protected $has_and_belongs_to_many = array("users"); + + var $rules = array( + "name" => "required|length[4,255]"); } \ No newline at end of file -- cgit v1.2.3