Remove the 4 character minimum for group name length. Fixes ticket #1396.

This commit is contained in:
Bharat Mediratta
2010-09-22 21:43:44 -07:00
parent 790bf4e871
commit 7116f820ca
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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"))));
}