1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-05 11:45:38 +02:00

Reverting PHP v5.3.0+ method used in XML parser

This commit is contained in:
SecretR 2013-06-12 17:20:28 +03:00
parent b5ec194ae6
commit 0e75ada2a9

View File

@ -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++)