[9.0.11] réinitialise position menu si "body"

This commit is contained in:
fredtempez 2019-03-24 19:23:06 +01:00
parent d3ae0fb6d6
commit cd8bc06a09
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}
}
}