From c38bd7d12f8d750925b56fbad01adfdebb2abb8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Thu, 19 Sep 2024 09:59:59 +0200 Subject: [PATCH] 1.12.00.10 Erreur d'initialisation --- core/core.php | 2 +- core/module/config/view/index/index.js.php | 2 +- core/module/page/view/edit/edit.js.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 92622d2..a403455 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.12.00.09'; + const ZWII_VERSION = '1.12.00.10'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 8495dc7..29ec75d 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -68,7 +68,7 @@ $(document).ready(function () { var configLayout = "getData(['user', $this->getUser('id'), 'view', 'config']);?>"; // Non défini, valeur par défaut - if (configLayout == null) { + if (configLayout == "") { configLayout = "setup"; } diff --git a/core/module/page/view/edit/edit.js.php b/core/module/page/view/edit/edit.js.php index 3f453a2..e4687e5 100644 --- a/core/module/page/view/edit/edit.js.php +++ b/core/module/page/view/edit/edit.js.php @@ -69,7 +69,7 @@ $( document ).ready(function() { */ var pageLayout = "getData(['user', $this->getUser('id'), 'view', 'page']);?>"; // Non défini, valeur par défaut - if (pageLayout == null) { + if (pageLayout == "") { pageLayout = "content"; } // Tout cacher