* Fix api bug.

This commit is contained in:
宋辰轩
2022-07-21 17:05:38 +08:00
parent 41c90492e6
commit f82626dfab
+1 -1
View File
@@ -535,7 +535,7 @@ class baseEntry
/* Format array. */
$value = array();
if(is_array($object->$key))
if(is_array($object->$key) or is_object($object->$key))
{
foreach($object->$key as $v) $value[] = $this->cast($v, $type);
}