summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/organize/controllers/organize.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php
index 4639777c..259c94e7 100644
--- a/modules/organize/controllers/organize.php
+++ b/modules/organize/controllers/organize.php
@@ -53,8 +53,8 @@ class Organize_Controller extends Controller {
}
print json_encode(
- array("tree" => self::_expanded_tree(ORM::factory("item", 1), $album)->__toString(),
- "grid" => self::_get_micro_thumb_grid($album, 0)->__toString()));
+ array("tree" => self::_expanded_tree(ORM::factory("item", 1), $target_album)->__toString(),
+ "grid" => self::_get_micro_thumb_grid($target_album, 0)->__toString()));
}
function rearrange($target_id, $before_or_after) {