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 = '';