bug autoupdate

This commit is contained in:
fredtempez 2022-01-26 10:22:41 +01:00
parent f9810ade1d
commit 9663e67bc3

View File

@ -281,7 +281,7 @@ class helper {
if($version = helper::getOnlineVersion()) { if($version = helper::getOnlineVersion()) {
//return (trim($version) !== common::ZWII_VERSION); //return (trim($version) !== common::ZWII_VERSION);
return ((version_compare(common::ZWII_VERSION,$version,'<')) === -1); return ((version_compare(common::ZWII_VERSION,$version)) === -1);
} }
else { else {
return false; return false;