bugfix stringcleaner array vs. object

This commit is contained in:
OpenXE 2023-11-07 09:44:44 +01:00
parent 2f646a7715
commit e737d69a77

View File

@ -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)