From 73cfc6182398582c39d6d2791a9c5eb81c84aadc Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 22 Jul 2021 23:30:01 +0200 Subject: [PATCH] bug Effacer feuille de style --- module/news/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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