Another 2.4 migration-ism. Need to pass the where clause in an appropriate format. array(fieldname, operator, value);
This commit is contained in:
parent
4923164626
commit
9a96a37681
@ -54,7 +54,7 @@ class Json_Album_Controller extends Controller {
|
|||||||
|
|
||||||
function albums($item_id) {
|
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){
|
function children($item_id){
|
||||||
|
Reference in New Issue
Block a user