diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 16adeb0f26..10a5d57f16 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -549,7 +549,7 @@ function xml2array($xml, $rec_parent = '') $ret = array(); - $tags = get_object_vars($xml); + $tags = (array) $xml; //remove comments