Bugfix for XML function

This commit is contained in:
Michael Vogel 2016-04-28 08:30:15 +02:00 committed by Roland Haeder
parent 0c9c58a683
commit 134c491da0
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -162,7 +162,7 @@ class xml {
$recursion_depth++; $recursion_depth++;
$result_array[strtolower($key)] = $result_array[strtolower($key)] =
self::convert_element_to_array($value, $recursion_depth); self::element_to_array($value, $recursion_depth);
$recursion_depth--; $recursion_depth--;
} }
if ($recursion_depth == 0) { if ($recursion_depth == 0) {