From 23fd7dcb41948c3a470ae5a0b906d38d24fde943 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 16 Mar 2019 15:14:04 +0100 Subject: [PATCH] [9.0.07] nav disappear when header is hidden --- CHANGES.md | 5 +++++ core/module/theme/theme.php | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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']),