From 9a96a37681dd68e6031659b10d97c1abab506515 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 14 Jan 2010 13:41:40 -0800 Subject: [PATCH] Another 2.4 migration-ism. Need to pass the where clause in an appropriate format. array(fieldname, operator, value); --- 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 40f14028..6f7dc97c 100644 --- a/modules/gwtorganise/controllers/json_album.php +++ b/modules/gwtorganise/controllers/json_album.php @@ -54,7 +54,7 @@ class Json_Album_Controller extends Controller { function albums($item_id) { - print $this->child_elements($item_id,array("type" => "album")); + print $this->child_elements($item_id, array("type", "=", "album")); } function children($item_id){