diff --git a/framework/api/entry.class.php b/framework/api/entry.class.php index 2d93b300d9..beadc3089a 100644 --- a/framework/api/entry.class.php +++ b/framework/api/entry.class.php @@ -515,10 +515,15 @@ class baseEntry if(!isset($object->$key)) continue; $pos = strpos($type, ']'); - if($pos !== FALSE) + if($pos !== false) { - $is_array = true; - $type = substr($type, $pos + 1); + $isArray = true; + $type = substr($type, $pos + 1); + } + else if(strpos($type, 'array') !== false) + { + $isArray = true; + $type = 'object'; } /* Format value. */