summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/movie.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-08 13:47:30 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-08 13:47:30 -0700
commit7ad203b97a148c1e3b0585bf2554819bdc87ce98 (patch)
tree228e1e6ab9242f97687d6c0bb42f3580707b97f9 /modules/gallery/helpers/movie.php
parent6f315ad89c06431b408fcdf24393ad13daed845d (diff)
parentb6c1ba7ea6416630b2a44b3df8400a2d48460b0a (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/movie.php')
-rw-r--r--modules/gallery/helpers/movie.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php
index 2190fc94..98419387 100644
--- a/modules/gallery/helpers/movie.php
+++ b/modules/gallery/helpers/movie.php
@@ -135,6 +135,7 @@ class movie_Core {
$group->input("title")->label(t("Title"))->value($movie->title);
$group->textarea("description")->label(t("Description"))->value($movie->description);
$group->input("filename")->label(t("Filename"))->value($movie->name)
+ ->rules("required")
->error_messages(
"name_conflict", t("There is already a movie, photo or album with this name"))
->callback("item::validate_no_slashes")