forked from ZwiiCMS-Team/ZwiiCMS
fix checknewversion
This commit is contained in:
parent
4b7826b078
commit
0724114e96
@ -368,8 +368,7 @@ class helper
|
|||||||
$version = helper::getOnlineVersion($channel);
|
$version = helper::getOnlineVersion($channel);
|
||||||
$update = false;
|
$update = false;
|
||||||
if (!empty($version)) {
|
if (!empty($version)) {
|
||||||
$update = version_compare(common::ZWII_VERSION, $version) === -1;
|
$update = version_compare(common::ZWII_VERSION, $version) === -1;
|
||||||
|
|
||||||
}
|
}
|
||||||
return $update;
|
return $update;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user