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:
parent
b5ec194ae6
commit
0e75ada2a9
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user