fixed erro2
This commit is contained in:
parent
bc4c811071
commit
f25aacf108
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue