fix admin color button

This commit is contained in:
Fred Tempez 2023-10-14 14:35:26 +02:00
parent 78b05a211d
commit d1efca6560
1 changed files with 7 additions and 6 deletions

View File

@ -1093,12 +1093,13 @@ if ($this->getData(['core', 'dataVersion']) < 13005) {
}
// Fixe la taille de l'administration identique à la taille de site
$this->setData(['admin', 'width', $this->getData(['theme', 'site', 'width'])]);
$size = $this->getData(['theme', 'site', 'width']);
$this->setData(['admin', 'width', $size]);
// Ancienne déclaration oubliée !!
if ($this->getData(['admin', 'backgroundColorButtonHelp']) === null) {
$this->setData(['admin', 'backgroundColorButtonHelp', 'rgba(255, 153, 0, 1)']);
}
// Mise à jour
$this->setData(['core', 'dataVersion', 13005]);
}
}