diff --git a/module/news/news.php b/module/news/news.php index a650ea7f..6153c46d 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -507,7 +507,7 @@ class news extends common { // Mise à jour 3.4 if (version_compare($versionData, '3.4', '<') ) { $this->deleteData(['module',$this->getUrl(0),'theme']); - if (!is_dir(self::DATADIRECTORY . $this->getUrl(0) )) { + if (is_dir(self::DATADIRECTORY . $this->getUrl(0) )) { $this->removeDir(self::DATADIRECTORY . $this->getUrl(0)); } // Mettre à jour la version