From cd8bc06a093e33bb0103761eb709026d7779b6ef Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 24 Mar 2019 19:23:06 +0100 Subject: [PATCH] =?UTF-8?q?[9.0.11]=20r=C3=A9initialise=20position=20menu?= =?UTF-8?q?=20si=20"body"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core.php b/core/core.php index b99cbce2..d0824f67 100644 --- a/core/core.php +++ b/core/core.php @@ -768,6 +768,13 @@ class common { $this->setData(['core', 'dataVersion', 9010]); $this->SaveData(); } + // Version 9.0.11 + if($this->getData(['core', 'dataVersion']) < 9011) { + if ($this->getData(['theme','menu','position']) === 'body') + $this->setData(['theme','menu','position','site']); + $this->setData(['core', 'dataVersion', 9011]); + $this->SaveData(); + } } }