diff --git a/CHANGES.md b/CHANGES.md index c197ce44..efa1df9b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ # ChangeLog +## Version 9.0.07 +- Correction : + - Disparition du menu quand la bannière est masquée + + ## Version 9.0.06 - Correction : - Configuration des modes de codemirror diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 15627c28..bf6b2fba 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -323,8 +323,10 @@ class theme extends common { $position = str_replace ('body','site',$this->getData(['theme','menu','position'])); break; case 'body' : - $position = str_replace ('site','body',$this->getData(['theme','menu','position'])); + $position = str_replace ('site','body',$this->getData(['theme','menu','position'])); break; + default: + $position = $this->getData(['theme','menu','position']); } $this->setData(['theme', 'menu', [ 'backgroundColor' => $this->getData(['theme', 'menu', 'backgroundColor']),