diff --git a/core/core.php b/core/core.php index 9d3a10cb..b99cbce2 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version stable - const ZWII_VERSION = '9.0.10'; + const ZWII_VERSION = '9.0.11'; public static $actions = []; public static $coreModuleIds = [ diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 685f7681..1b115390 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -334,7 +334,9 @@ class theme extends common { 'imageContainer' => $this->getInput('themeHeaderImageContainer') ]]); // Modification de la position du menu selon la position de la bannière - switch ($this->getInput('themeHeaderPosition')) { + switch ($this->getInput('themeHeaderPosition') && + $this->getData(['theme','menu','position']) !== 'site' && + $this->getData(['theme','menu','position']) !== 'top' ) { case 'site' : $position = str_replace ('body','site',$this->getData(['theme','menu','position'])); break;