From 49231646260598303936dd7b00ad4d23f23d3e40 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 12 Jan 2010 10:49:58 -0800 Subject: [PATCH] Change the offset from zero to null on the item->find_all call. Changed with K2.4 --- modules/gwtorganise/controllers/json_album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gwtorganise/controllers/json_album.php b/modules/gwtorganise/controllers/json_album.php index 85cf1128..40f14028 100644 --- a/modules/gwtorganise/controllers/json_album.php +++ b/modules/gwtorganise/controllers/json_album.php @@ -34,7 +34,7 @@ class Json_Album_Controller extends Controller { $item = ORM::factory("item", $item_id); access::required("view", $item); - $children = $item->children(null, 0, $where); + $children = $item->children(null, null, $where); $encoded = array(); foreach ($children as $id => $child){ $encoded[$id] = self::child_json_encode($child);