Clear xml errors in updater
This commit is contained in:
parent
9b423f3532
commit
b3c8e9ca32
|
@ -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 = [];
|
||||||
|
|
Loading…
Reference in New Issue