summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-17 17:34:15 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-17 17:34:15 +0100
commit9b423f3532ac494630f60a1421571b24263ce2dd (patch)
tree535003900770ec0fa990c4c9267f10f94177baea
parent2709244acd6eb385d5c353ff8486470c14670984 (diff)
downloadnextcloud-server-9b423f3532ac494630f60a1421571b24263ce2dd.tar.gz
nextcloud-server-9b423f3532ac494630f60a1421571b24263ce2dd.zip
Clear xml errors in ocs client
-rw-r--r--lib/private/ocsclient.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index e2973f82605..81c9abee058 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),
[