Changes to AgileBill

This commit is contained in:
Deon George
2009-08-03 14:10:16 +10:00
parent 0a22cfe22c
commit 27aee719b0
1051 changed files with 219109 additions and 117219 deletions

View File

@@ -42,6 +42,9 @@ class CORE_xml
if(!is_file($file)) return false;
$xml = simplexml_load_file ($file);
if(is_object($xml)) {
# Comments in the XML field are being translated as comment fields.
if (isset($xml->field->comment))
unset($xml->field->comment);
$dom = dom_import_simplexml ($xml);
$arr["$dom->tagName"] = SimpleXML2Array($xml);
}
@@ -268,4 +271,4 @@ function _xmlFileToArrayClose(& $topTag, & $includeTopTag, & $val, & $lowerCaseT
}
return true;
}
?>
?>