fixed erro2

This commit is contained in:
marcos 2020-02-21 10:58:04 +01:00
parent bc4c811071
commit f25aacf108
1 changed files with 0 additions and 2 deletions

View File

@ -3081,8 +3081,6 @@ function array2XML($data, $root=null, $xml=null)
$node = $xml->addChild($key); $node = $xml->addChild($key);
array2XML($value, $root, $node); array2XML($value, $root, $node);
} else { } else {
$value = htmlentities($value);
if (!is_numeric($value) && !is_bool($value)) { if (!is_numeric($value) && !is_bool($value)) {
if (!empty($value)) { if (!empty($value)) {
$xml->addChild($key, $value); $xml->addChild($key, $value);