paramètre null passé

This commit is contained in:
Fred Tempez 2022-10-04 10:22:33 +02:00
parent 7ce77b98f0
commit 5cfa4291dc

View File

@ -1276,7 +1276,8 @@ class common
{
echo '<section>';
// 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 = '';