From b1b25d5001c322074e6f66f20ceef4871443a08c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 11 Feb 2019 16:05:44 +0100 Subject: [PATCH] =?UTF-8?q?Num=C3=A9ro=20de=20version=20sur=203=20digits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/core.php b/core/core.php index b780df2b..5f92865a 100644 --- a/core/core.php +++ b/core/core.php @@ -26,7 +26,7 @@ class common { const GROUP_MEMBER = 1; const GROUP_MODERATOR = 2; const GROUP_ADMIN = 3; - const ZWII_VERSION = '9.0.00'; + const ZWII_VERSION = '9.0.0'; public static $actions = []; public static $coreModuleIds = [ @@ -1091,14 +1091,13 @@ class common { $this->SaveData(); } // Version 9.0.0 - if($this->getData(['core', 'dataVersion']) < 9000) { + if($this->getData(['core', 'dataVersion']) < 900) { $this->setData(['theme', 'site', 'block','12']); if ($this->getData(['theme','menu','position']) === 'body-top') { $this->setData(['theme','menu','position','top']); } - $this->setData(['theme', 'menu','fixed',false]); - $this->setData(['theme', 'themeVersion', 9000]); - $this->setData(['core', 'dataVersion', 9000]); + $this->setData(['theme', 'menu','fixed',false]); + $this->setData(['core', 'dataVersion', 900]); $this->SaveData(); } }