summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/move.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/move.php')
-rw-r--r--modules/gallery/controllers/move.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/move.php b/modules/gallery/controllers/move.php
index 863b13bb..14513fdc 100644
--- a/modules/gallery/controllers/move.php
+++ b/modules/gallery/controllers/move.php
@@ -32,7 +32,7 @@ class Move_Controller extends Controller {
public function save($source_id) {
access::verify_csrf();
$source = ORM::factory("item", $source_id);
- $target = ORM::factory("item", $this->input->post("target_id"));
+ $target = ORM::factory("item", Input::instance()->post("target_id"));
access::required("view", $source);
access::required("edit", $source);