diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 103516305..91d597b41 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -561,6 +561,10 @@ class xmlClass //more cases? default: + +//FIXME - commented code breaks parsing of plugin.xml extended and userclass tags and possibly other xml files. + + /* // fix - empty SimpleXMLElement if(empty($xml->{$tag})) { @@ -571,7 +575,7 @@ class xmlClass else $ret[$tag] = ''; break; } - + */ $count = $xml->{$tag}->count(); if($count >= 1) //array of elements - loop {