update news

This commit is contained in:
Deltacms 2023-01-05 11:37:53 +01:00
parent 9fad1d4278
commit e0e6701b1b
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ class news extends common {
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.2' ]);
}
// Mise à jour 4.5
if (version_compare($versionData, '4.4', '<') ) {
if (version_compare($versionData, '4.5', '<') ) {
// Mettre à jour la version
$this->setData(['module',$this->getUrl(0),'config', 'hideMedia', false ]);
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.5' ]);