From 0cb9de7b8e47f940c732ec3ed78edd4e9c55092a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 22 Mar 2021 13:39:24 +0100 Subject: [PATCH] =?UTF-8?q?bug=20position=20du=20menu=20par=20rapport=20?= =?UTF-8?q?=C3=A0=20la=20banni=C3=A8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index b9589ca6..3dae5e3b 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -425,8 +425,8 @@ class theme extends common { ]]); // Modification de la position du menu selon la position de la bannière if ( $this->getInput('themeHeaderPosition') && - $this->getData(['theme','menu','position']) !== 'site' && - $this->getData(['theme','menu','position']) !== 'top' ) + ( $this->getData(['theme','menu','position']) !== 'site' || + $this->getData(['theme','menu','position']) !== 'top') ) { switch ($this->getInput('themeHeaderPosition')) { case 'site' :