check_for_update: compare against VERSION_STATIC
This commit is contained in:
parent
b8461261fb
commit
74a8b2f6f1
1 changed files with 1 additions and 2 deletions
|
@ -2845,8 +2845,7 @@
|
|||
if ($version_data) {
|
||||
$version_data = json_decode($version_data, true);
|
||||
if ($version_data && $version_data['version']) {
|
||||
|
||||
if (version_compare(VERSION, $version_data['version']) == -1) {
|
||||
if (version_compare(VERSION_STATIC, $version_data['version']) == -1) {
|
||||
return $version_data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue