From 16bed1ffd54000922f806af669f618970600420f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 6 Dec 2009 21:32:27 -0800 Subject: Remove the hidden form variable _method which was used in the no longer rest controllers. --- modules/gallery/helpers/photo.php | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/gallery/helpers/photo.php') diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php index 4188e192..dab98436 100644 --- a/modules/gallery/helpers/photo.php +++ b/modules/gallery/helpers/photo.php @@ -139,7 +139,6 @@ 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("_method")->value("put"); $group = $form->group("edit_item")->label(t("Edit Photo")); $group->input("title")->label(t("Title"))->value($photo->title); $group->textarea("description")->label(t("Description"))->value($photo->description); -- cgit v1.2.3