diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-18 00:38:36 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-18 00:38:36 +0000 |
| commit | 8b6796fa5f515b090b0c187e5d1303398868f975 (patch) | |
| tree | a5b2a072ed6689209f3c7108b033922b49c34b38 /modules/user/models/group.php | |
| parent | c031fcef23a250f9739e911e8f1deeba924ad76c (diff) | |
Synchronize the model rules with the database definitions and vice-versa.
Diffstat (limited to 'modules/user/models/group.php')
| -rw-r--r-- | modules/user/models/group.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
