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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/move.php b/modules/gallery/controllers/move.php
index 87b73436..863b13bb 100644
--- a/modules/gallery/controllers/move.php
+++ b/modules/gallery/controllers/move.php
@@ -64,8 +64,8 @@ class Move_Controller extends Controller {
$view->parent = $target;
$view->children = ORM::factory("item")
->viewable()
- ->where("type", "album")
- ->where("parent_id", $target->id)
+ ->where("type", "=", "album")
+ ->where("parent_id", "=", $target->id)
->find_all();
return $view;
}