diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-16 14:25:13 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-16 14:25:13 -0700 |
commit | 35bbffcc29fcf592b8dde3670d12f543258f01e0 (patch) | |
tree | 90c54472909be485eef1cf829a8e9a6c7e0a5f07 /modules/gallery | |
parent | e3535349abb6e955a75d97f57971f4ea4913da6f (diff) | |
parent | 8ee60e6b5d694a8117c94595a0f03090cd41cca8 (diff) |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/helpers/photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php index f20d37a3..73cd60c0 100644 --- a/modules/gallery/helpers/photo.php +++ b/modules/gallery/helpers/photo.php @@ -26,7 +26,7 @@ class photo_Core { static function get_edit_form($photo) { $form = new Forge("photos/update/$photo->id", "", "post", array("id" => "g-edit-photo-form")); - $form->hidden("from_id"); + $form->hidden("from_id")->value($photo->id); $group = $form->group("edit_item")->label(t("Edit Photo")); $group->input("title")->label(t("Title"))->value($photo->title) ->error_messages("required", t("You must provide a title")) |