]> source.dussan.org Git - nextcloud-server.git/commitdiff
Clear xml errors in ocs client
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 17 Dec 2015 16:34:15 +0000 (17:34 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 17 Dec 2015 16:34:15 +0000 (17:34 +0100)
lib/private/ocsclient.php

index e2973f8260540c7093110d523c34ed97821fa64a..81c9abee05803e85af5f77bd7c21c0746f416e6f 100644 (file)
@@ -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),
                                [