mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Reverting PHP v5.3.0+ method used in XML parser
This commit is contained in:
@@ -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++)
|
||||
|
Reference in New Issue
Block a user