]> git.mxchange.org Git - friendica.git/blobdiff - include/xml.php
Merge pull request #3284 from annando/issue-3278
[friendica.git] / include / xml.php
index 4aeb56398cb82057596cf4b802326cd8f5e8fc8a..9f7de8f33e66732fc790840eaf2e3cf3f0ea03cb 100644 (file)
@@ -305,7 +305,7 @@ class xml {
                        //Set the attributes too.
                        if (isset($attributes) and $get_attributes) {
                                foreach ($attributes as $attr => $val) {
-                                       if ($priority == 'tag') {
+                                       if($priority == 'tag') {
                                                $attributes_data[$attr] = $val;
                                        } else {
                                                $result['@attributes'][$attr] = $val; // Set all the attributes in a array called 'attr'