From e0c6af322a993bc484d6b3e2237c36bae5e0fc9c Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 4 Oct 2022 10:27:12 +0200 Subject: [PATCH] =?UTF-8?q?param=C3=A8tre=20null=20pass=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index ca66cc0e..47be7251 100644 --- a/core/core.php +++ b/core/core.php @@ -2092,7 +2092,10 @@ class common { // Sur une page sans module OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === '' // Sur une page avec un module invalide - OR !class_exists($this->getData(['page', $this->getUrl(2), 'moduleId'])) + OR ( + !is_null($this->getData(['page', $this->getUrl(2), 'moduleId'])) && + !class_exists($this->getData(['page', $this->getUrl(2), 'moduleId'])) + ) // Sur une page d'accueil OR $this->getUrl(0) === '' ) {