Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LSS/Array2XML.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private static function &convert($node_name, $arr = array()) {

// after we are done with all the keys in the array (if it is one)
// we check if it has any text value, if yes, append it.
if (!is_array($arr)) {
if (!is_array($arr) && $arr) {
$node->appendChild($xml->createTextNode(self::bool2str($arr)));
}

Expand Down