Change the variable to to resolve ticket #769

This commit is contained in:
Tim Almdal
2009-09-14 08:11:12 -07:00
parent 8fa370c49f
commit 5f343ab8a0
+2 -2
View File
@@ -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) {