From 9d312c55822716b2b24266fb42ad56fc8c07f541 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 25 Jun 2020 12:08:57 +0200 Subject: [PATCH] =?UTF-8?q?Update=20non=20effac=C3=A9=20apr=C3=A8s=20mise?= =?UTF-8?q?=20=C3=A0=20jour=2010.1=20vers=2010.2=20cause=20option=20de=20s?= =?UTF-8?q?=C3=A9curit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 488ce351..905d16d3 100755 --- a/core/core.php +++ b/core/core.php @@ -1331,12 +1331,12 @@ class common { $this->setData(['theme','menu','memberBar',true]); $this->setData(['theme','footer','displayMemberAccount',false]); $this->setData(['theme','footer','displayMemberLogout',false]); - $this->setData(['core', 'dataVersion', 10200]); // Thème Menu : couleur de page active non définie if (!$this->getData(['theme','menu','activeTextColor']) ) { $this->setData(['theme','menu','activeTextColor', $this->getData(['theme','menu','textColor']) ]); } - + $this->setData(['core', 'updateAvailable', false]); + $this->setData(['core', 'dataVersion', 10200]); } } } @@ -2613,7 +2613,7 @@ class layout extends common { helper::checkNewVersion(common::ZWII_UPDATE_CHANNEL)) { $this->setData(['core','updateAvailable', true]); $this->setData(['core','lastAutoUpdate',$lastAutoUpdate]); - } + } // Afficher le bouton : Mise à jour détectée + activée if ( $this->getData(['core','updateAvailable']) === true && $this->getData(['config','autoUpdate']) === true ) {