From 21d8c58b96f0bb61875934df18d1cdea89ed4c49 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 26 Jan 2022 10:22:41 +0100 Subject: [PATCH] bug autoupdate --- core/class/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 99f33ee2..6940bd1c 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -281,7 +281,7 @@ class helper { if($version = helper::getOnlineVersion()) { //return (trim($version) !== common::ZWII_VERSION); - return ((version_compare(common::ZWII_VERSION,$version,'<')) === -1); + return ((version_compare(common::ZWII_VERSION,$version)) === -1); } else { return false;