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

index 366ad2555a8b15c3736142947a977136a0d8695b..d5598d339d3d83a0239ed5f9bfebda70718d4052 100644 (file)
@@ -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 = [];