2012-06-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_incidents.php: Changed a parameter of the xml2array function to set it equal to recent fix in 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
fed40c748e
commit
33d048263e
|
@ -1,3 +1,9 @@
|
|||
2012-06-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_incidents.php: Changed a parameter
|
||||
of the xml2array function to set it equal to recent
|
||||
fix in 4.0.2
|
||||
|
||||
2012-06-19 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/reporting/reporting_builder.list_items.php: some fixes.
|
||||
|
|
|
@ -442,7 +442,7 @@ function incidents_call_api($url, $postparameters = false) {
|
|||
* @return array A Json encoded array with xml content.
|
||||
*/
|
||||
function incidents_xml_to_array($xml) {
|
||||
$xmlObj = simplexml_load_string($xml, null, LIBXML_NOCDATA);
|
||||
$xmlObj = simplexml_load_string($xml,'SimpleXMLElement',LIBXML_NOCDATA);
|
||||
return json_decode(json_encode($xmlObj), true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue