mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
bugfix stringcleaner array vs. object
This commit is contained in:
parent
2f646a7715
commit
e737d69a77
@ -426,10 +426,12 @@
|
|||||||
}
|
}
|
||||||
}elseif(is_object($xml))
|
}elseif(is_object($xml))
|
||||||
{
|
{
|
||||||
|
$xml = (array) $xml;
|
||||||
if(count($xml) > 0)
|
if(count($xml) > 0)
|
||||||
{
|
{
|
||||||
foreach($xml as $k => $v)
|
foreach($xml as $k => $v)
|
||||||
{
|
{
|
||||||
|
$v = (array) $v;
|
||||||
if(count($v) > 0)
|
if(count($v) > 0)
|
||||||
{
|
{
|
||||||
if($lvl < 10)
|
if($lvl < 10)
|
||||||
|
Loading…
Reference in New Issue
Block a user