1
0

Change the offset from zero to null on the item->find_all call. Changed with K2.4

This commit is contained in:
Tim Almdal 2010-01-12 10:49:58 -08:00
parent 60238ddfad
commit 4923164626

View File

@ -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);