Clear xml errors in ocs client

This commit is contained in:
Thomas Müller 2015-12-17 17:34:15 +01:00
parent 2709244acd
commit 9b423f3532
1 changed files with 1 additions and 0 deletions

View 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),
[