Bouton mise à jour si en ligne supérieure

This commit is contained in:
Fred Tempez 2022-01-09 11:23:31 +01:00
parent 5ea92be85a
commit 681b3d1c21
1 changed files with 1 additions and 1 deletions

View File

@ -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" ;
}