Clear xml errors

remotes/origin/appinfo-object
Thomas Müller 2015-12-17 17:28:44 +07:00
parent 26f416b9f5
commit 62b82cfe4b
1 changed files with 1 additions and 0 deletions

@ -59,6 +59,7 @@ class InfoParser {
$xml = simplexml_load_file($file);
libxml_disable_entity_loader($loadEntities);
if ($xml == false) {
libxml_clear_errors();
return null;
}
$array = $this->xmlToArray($xml);