summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/album.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-07-11 09:09:52 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-07-11 09:09:52 -0700
commit329abfe539371b65c95e3334e436f997ec92879f (patch)
tree0a3ee6e19be8563af6b6b6d87db795a0e6f463e2 /modules/gallery/helpers/album.php
parent213807a8073138a98b8daf9fe265e981454aaa50 (diff)
parent0389dceb475597ecdedf519d27d6d7bb36aa6276 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/album.php')
-rw-r--r--modules/gallery/helpers/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php
index 0baae631..0ac5e8b0 100644
--- a/modules/gallery/helpers/album.php
+++ b/modules/gallery/helpers/album.php
@@ -58,7 +58,7 @@ class album_Core {
static function get_edit_form($parent) {
$form = new Forge(
"albums/update/{$parent->id}", "", "post", array("id" => "g-edit-album-form"));
- $form->hidden("from_id");
+ $form->hidden("from_id")->value($parent->id);
$group = $form->group("edit_item")->label(t("Edit Album"));
$group->input("title")->label(t("Title"))->value($parent->title)