From 107c41f4091cae654cabdbbf2280d1c4ec763812 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 10 Oct 2020 20:22:14 +0200 Subject: [PATCH] 10303 routage --- CHANGES.md | 4 ++++ core/core.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 8134da32..b5f7dc4c 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## version 10.3.03 +- Correction : + - Test incomplet dans le module de routage + ## version 10.3.02 - Correction : - Icône de pied de page github manquante. diff --git a/core/core.php b/core/core.php index 0ae013a9..e29d26a6 100644 --- a/core/core.php +++ b/core/core.php @@ -39,7 +39,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.3.02'; + const ZWII_VERSION = '10.3.03'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; @@ -1742,7 +1742,8 @@ class core extends common { $access = null; $accessInfo['userName'] = ''; $accessInfo['pageId'] = ''; - if($this->getData(['page', $this->getUrl(0)]) !== null) { + if($this->getData(['page', $this->getUrl(0)]) !== null + OR $this->getData(['page', $this->getUrl(2)]) !== NULL) { // Page Redirection éviter une valeur nulle if( $this->getData(['page', $this->getUrl(0), 'group']) === self::GROUP_VISITOR OR ( @@ -1761,7 +1762,6 @@ class core extends common { } } } - /** * Contrôle si la page demandée est en édition ou accès à la gestion du site * conditions de blocage :