forked from ZwiiCMS-Team/ZwiiCMS
paramètre null passé
This commit is contained in:
parent
7ce77b98f0
commit
5cfa4291dc
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user