summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-14 08:11:12 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-14 08:11:12 -0700
commit5f343ab8a0538d68b905e86968cfd80902512d8a (patch)
treee7b5ffe5fdd3e2bbbb6c130cb0dc24280c41baf4
parent8fa370c49fa28741d6ff1bd9ca4ccc1f70dc37af (diff)
Change the variable to to resolve ticket #769
-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) {