mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Reverting PHP v5.3.0+ method used in XML parser
This commit is contained in:
@@ -585,7 +585,7 @@ class xmlClass
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
$count = $xml->{$tag}->count();
|
$count = count($xml->{$tag});
|
||||||
if($count >= 1) //array of elements - loop
|
if($count >= 1) //array of elements - loop
|
||||||
{
|
{
|
||||||
for ($i = 0; $i < $count; $i++)
|
for ($i = 0; $i < $count; $i++)
|
||||||
|
Reference in New Issue
Block a user