summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-04 08:44:06 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-04 08:44:06 +0000
commit92ceef27dafbc0e217a8ec7f5e2ee9694d4118a3 (patch)
tree24ce7c4aef358651f92b3361fded9d30cbac7434 /modules/tag/models
parent625d0785572af319b22a523550145b4dacbd6100 (diff)
Allow renaming of tags using a modal dialog. Put up a confirmation
dialog for deleting tags. Remove the 4 character restriction on tags (it was getting ignored by the add form anyway since it was mistakenly referred to as tag_name there).
Diffstat (limited to 'modules/tag/models')
-rw-r--r--modules/tag/models/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index 37fd92fb..2a728131 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -21,7 +21,7 @@ class Tag_Model extends ORM {
protected $has_and_belongs_to_many = array("items");
var $rules = array(
- "name" => "required|length[4,32]");
+ "name" => "required|length[1,64]");
/**
* Return all viewable items associated with this tag.