From 5cfa4291dc48271e5e47629fe1f1855538f73c6b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 4 Oct 2022 10:22:33 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 3df0982f..c119bee7 100644 --- a/core/core.php +++ b/core/core.php @@ -1276,7 +1276,8 @@ class common { echo '
'; // Récupérer la config de la page courante - $blocks = explode('-', $this->getData(['page', $this->getUrl(0), 'block'])); + $blocks = is_null($this->getData(['page',$this->getUrl(0),'block'])) ? '12' : $this->getData(['page',$this->getUrl(0),'block']); + $blocks = explode('-', $blocks); // Initialiser $blockleft = ''; $blockright = '';