From af220074813a762f89244ab2009c10d68b2e8185 Mon Sep 17 00:00:00 2001
From: Michael Vogel <icarus@dabo.de>
Date: Thu, 28 Apr 2016 08:30:15 +0200
Subject: [PATCH] Bugfix for XML function

---
 include/xml.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/xml.php b/include/xml.php
index 5cd322ed6..39a9102de 100644
--- a/include/xml.php
+++ b/include/xml.php
@@ -162,7 +162,7 @@ class xml {
 
 				$recursion_depth++;
 				$result_array[strtolower($key)] =
-					self::convert_element_to_array($value, $recursion_depth);
+					self::element_to_array($value, $recursion_depth);
 				$recursion_depth--;
 			}
 			if ($recursion_depth == 0) {