summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-17 17:39:59 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-17 17:46:07 +0100
commitb3c8e9ca3218fd8853e8302db8d66be953b7f0f3 (patch)
treee06802bfb4fa81a507c35b637d86a0c380ef89d5 /lib
parent9b423f3532ac494630f60a1421571b24263ce2dd (diff)
downloadnextcloud-server-b3c8e9ca3218fd8853e8302db8d66be953b7f0f3.tar.gz
nextcloud-server-b3c8e9ca3218fd8853e8302db8d66be953b7f0f3.zip
Clear xml errors in updater
Diffstat (limited to 'lib')
-rw-r--r--lib/private/updater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php
index 366ad2555a8..d5598d339d3 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -177,6 +177,8 @@ class Updater extends BasicEmitter {
$tmp['versionstring'] = (string)$data->versionstring;
$tmp['url'] = (string)$data->url;
$tmp['web'] = (string)$data->web;
+ } else {
+ libxml_clear_errors();
}
} else {
$data = [];