Paramètre null passé
This commit is contained in:
parent
5da6f3e646
commit
d1d76aaf81
@ -1324,7 +1324,8 @@ class common {
|
|||||||
public function showSection() {
|
public function showSection() {
|
||||||
echo '<section>';
|
echo '<section>';
|
||||||
// Récupérer la config de la page courante
|
// 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
|
// Initialiser
|
||||||
$blockleft=$blockright="";
|
$blockleft=$blockright="";
|
||||||
switch (sizeof($blocks)) {
|
switch (sizeof($blocks)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user