From 0d73738099f7c12f2185018a29b647763c9d36ce Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 29 Jan 2010 10:13:10 -0800 Subject: Stop using obsolete form::close() Update the way we include the hidden CSRF field for InPlaceEdit. --- modules/gallery/libraries/InPlaceEdit.php | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/gallery/libraries') diff --git a/modules/gallery/libraries/InPlaceEdit.php b/modules/gallery/libraries/InPlaceEdit.php index 67ab3805..04a2e9a5 100644 --- a/modules/gallery/libraries/InPlaceEdit.php +++ b/modules/gallery/libraries/InPlaceEdit.php @@ -70,7 +70,6 @@ class InPlaceEdit_Core { public function render() { $v = new View("in_place_edit.html"); - $v->hidden = array("csrf" => access::csrf_token()); $v->action = url::site($this->action); $v->form = $this->form; $v->errors = $this->errors; -- cgit v1.2.3