From 0e75ada2a90affd6a1d6903649c4b20fe19b8c72 Mon Sep 17 00:00:00 2001 From: SecretR Date: Wed, 12 Jun 2013 17:20:28 +0300 Subject: [PATCH] Reverting PHP v5.3.0+ method used in XML parser --- e107_handlers/xml_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 65f11f290..729db9f4b 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -585,7 +585,7 @@ class xmlClass break; } */ - $count = $xml->{$tag}->count(); + $count = count($xml->{$tag}); if($count >= 1) //array of elements - loop { for ($i = 0; $i < $count; $i++)