diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-09-22 21:43:44 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-22 21:43:44 -0700 |
commit | 7116f820ca2b6338abdca233a4b1d42d29a41150 (patch) | |
tree | 7c7fcf559e91da34b46c7c9af8575dcd43ac83f0 /modules/user/models | |
parent | 790bf4e871b1a1555dc32287ab222b6694d402a2 (diff) |
Remove the 4 character minimum for group name length. Fixes ticket #1396.
Diffstat (limited to 'modules/user/models')
-rw-r--r-- | modules/user/models/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/models/group.php b/modules/user/models/group.php index 57b12963..b27c7250 100644 --- a/modules/user/models/group.php +++ b/modules/user/models/group.php @@ -41,7 +41,7 @@ class Group_Model extends ORM implements Group_Definition { // validate() is recursive, only modify the rules on the outermost call. if (!$array) { $this->rules = array( - "name" => array("rules" => array("required", "length[4,255]"), + "name" => array("rules" => array("required", "length[1,255]"), "callbacks" => array(array($this, "valid_name")))); } |