From acbb5aac05d41aad89176d28f1d583c8072f2a2a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 27 Jan 2010 22:41:09 -0800 Subject: [PATCH] Remove unnecessary rules() in the form. --- modules/gallery/helpers/album.php | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php index 552822525e..641f070817 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -53,7 +53,6 @@ static function get_edit_form($parent) { $group->textarea("description")->label(t("Description"))->value($parent->description); if ($parent->id != 1) { $group->input("name")->label(t("Directory Name"))->value($parent->name) - ->rules("required") ->error_messages( "conflict", t("There is already a movie, photo or album with this name")) ->error_messages("no_slashes", t("The directory name can't contain a \"/\""))