mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-04 03:59:09 -04:00
Fix issue1068. Fill from_id field in photo with indetificator
This commit is contained in:
committed by
Tim Almdal
parent
a432a43b3b
commit
1fb3339326
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user