]> git.mxchange.org Git - friendica.git/blobdiff - include/xml.php
Fallback for empty names
[friendica.git] / include / xml.php
index 39a9102de8bb94d76411f18709bf6cd538532550..ed2f49fb7fbb4836905785cb4125db9a8746fbc9 100644 (file)
@@ -44,7 +44,7 @@ class xml {
                }
 
                foreach($array as $key => $value) {
-                       if ($key == "@attributes") {
+                       if (substr($key, 0, 11) == "@attributes") {
                                if (!isset($element) OR !is_array($value))
                                        continue;