mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-30 02:46:19 -04:00
Remove the 4 character minimum for group name length. Fixes ticket #1396.
This commit is contained in:
@@ -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"))));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user