forked from ZwiiCMS-Team/ZwiiCMS
[9.0.11] réinitialise position menu si "body"
This commit is contained in:
parent
d3ae0fb6d6
commit
cd8bc06a09
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user