From 62b82cfe4bca5f0f7d8eec1777ed98e2381fd53c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Thu, 17 Dec 2015 17:28:44 +0100 Subject: [PATCH] Clear xml errors --- lib/private/app/infoparser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/app/infoparser.php b/lib/private/app/infoparser.php index 22f705884bc..a84163612e8 100644 --- a/lib/private/app/infoparser.php +++ b/lib/private/app/infoparser.php @@ -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); -- 2.39.5