Commit d774e7f1 by Carsten Brandt

fixed recursive call of ArrayHelper::toArray()

parent 8a6eceb8
......@@ -62,7 +62,7 @@ class BaseArrayHelper
if ($recursive) {
foreach ($object as $key => $value) {
if (is_array($value) || is_object($value)) {
$object[$key] = static::toArray($value, true);
$object[$key] = static::toArray($value, $properties, true);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment