diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 16adeb0f2..10a5d57f1 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -549,7 +549,7 @@ class xmlClass $ret = array(); - $tags = get_object_vars($xml); + $tags = (array) $xml; //remove comments