From 7116f820ca2b6338abdca233a4b1d42d29a41150 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 22 Sep 2010 21:43:44 -0700 Subject: Remove the 4 character minimum for group name length. Fixes ticket #1396. --- modules/user/models/group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/models') 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")))); } -- cgit v1.2.3