From 0f49c1308ced2700744992a206aa025c457eaab8 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 4 Oct 2022 10:28:07 +0200 Subject: [PATCH] =?UTF-8?q?Param=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 c119bee7..9b3f1b7d 100644 --- a/core/core.php +++ b/core/core.php @@ -2113,7 +2113,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) === '' ) {