From 9b423f3532ac494630f60a1421571b24263ce2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 17 Dec 2015 17:34:15 +0100 Subject: [PATCH] Clear xml errors in ocs client --- lib/private/ocsclient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index e2973f8260..81c9abee05 100644 --- a/lib/private/ocsclient.php +++ b/lib/private/ocsclient.php @@ -97,6 +97,7 @@ class OCSClient { libxml_disable_entity_loader($loadEntities); if($data === false) { + libxml_clear_errors(); $this->logger->error( sprintf('Could not get %s, content was no valid XML', $action), [