Onlineshops Smarty bugfix XML

This commit is contained in:
OpenXE 2024-06-17 14:57:36 +02:00
parent 2327ffdf81
commit 4bbafdf5cb

View File

@ -4739,7 +4739,7 @@ INNER JOIN shopexport s ON
}
$this->arrayToXmlHelper($subNode, $value, $nameSpaces,$subNodeName);
}
} else {
} else if (gettype($value) == 'string') {
$subNode = $xmlObj->addChild((string)$subNodeName, htmlspecialchars($value, ENT_QUOTES), $nameSpace);
if(!empty($attributes)) {
foreach($attributes as $attribute) {