* Fix array type.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user