mirror of
https://github.com/e107inc/e107.git
synced 2025-07-07 08:14:36 +02:00
Issue #371 - quick fix for forum extended fields.
This commit is contained in:
@ -561,6 +561,10 @@ class xmlClass
|
|||||||
|
|
||||||
//more cases?
|
//more cases?
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
//FIXME - commented code breaks parsing of plugin.xml extended and userclass tags and possibly other xml files.
|
||||||
|
|
||||||
|
/*
|
||||||
// fix - empty SimpleXMLElement
|
// fix - empty SimpleXMLElement
|
||||||
if(empty($xml->{$tag}))
|
if(empty($xml->{$tag}))
|
||||||
{
|
{
|
||||||
@ -571,7 +575,7 @@ class xmlClass
|
|||||||
else $ret[$tag] = '';
|
else $ret[$tag] = '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$count = $xml->{$tag}->count();
|
$count = $xml->{$tag}->count();
|
||||||
if($count >= 1) //array of elements - loop
|
if($count >= 1) //array of elements - loop
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user