Clear xml errors in updater

This commit is contained in:
Thomas Müller 2015-12-17 17:39:59 +01:00
parent 9b423f3532
commit b3c8e9ca32
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ class Updater extends BasicEmitter {
$tmp['versionstring'] = (string)$data->versionstring; $tmp['versionstring'] = (string)$data->versionstring;
$tmp['url'] = (string)$data->url; $tmp['url'] = (string)$data->url;
$tmp['web'] = (string)$data->web; $tmp['web'] = (string)$data->web;
} else {
libxml_clear_errors();
} }
} else { } else {
$data = []; $data = [];