Clear xml errors in ocs client
This commit is contained in:
parent
2709244acd
commit
9b423f3532
|
@ -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),
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue