diff --git a/module/news/news.php b/module/news/news.php index 88b565a..e350db9 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -580,10 +580,11 @@ class news extends common { $this->setData(['module',$this->getUrl(0),'config', 'noMargin', true ]); $this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.2' ]); } - // Mise à jour 4.4 + // Mise à jour 4.5 if (version_compare($versionData, '4.4', '<') ) { // Mettre à jour la version - $this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.4' ]); + $this->setData(['module',$this->getUrl(0),'config', 'hideMedia', false ]); + $this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.5' ]); } }