From 681b3d1c21be2c8ec43f636dd812f100fdf52392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Sun, 9 Jan 2022 11:23:31 +0100 Subject: [PATCH] =?UTF-8?q?Bouton=20mise=20=C3=A0=20jour=20si=20en=20ligne?= =?UTF-8?q?=20sup=C3=A9rieure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index 508e8560..d39997c0 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -610,7 +610,7 @@ class config extends common { // Variable de version self::$onlineVersion = helper::urlGetContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version'); - if (self::$onlineVersion !== common::ZWII_VERSION) { + if (self::$onlineVersion > common::ZWII_VERSION) { self::$updateButtonText = "Mettre à jour" ; }