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