From 92ceef27dafbc0e217a8ec7f5e2ee9694d4118a3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 4 Jan 2009 08:44:06 +0000 Subject: 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). --- modules/tag/models/tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tag/models') 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. -- cgit v1.2.3