diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 6940bd1c..99f33ee2 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; diff --git a/core/core.php b/core/core.php index 6a15f78d..6c85422f 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.2.03'; + const ZWII_VERSION = '11.2.04'; const ZWII_UPDATE_CHANNEL = "v11"; public static $actions = [];