From f4902bfed7527dd9909b36ed018d15e0a9785d9d Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 28 Mar 2020 19:31:22 +0100 Subject: [PATCH] [9.3.00] nettoyage --- module/gallery/gallery.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index b1c3b30a..be7a0b02 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -44,8 +44,6 @@ class gallery extends common { public function config() { // Liste des galeries $galleries = $this->getData(['module', $this->getUrl(0)]); - $countGalleries = count($this->getData(['module',$this->getUrl(0)])); - if($galleries) { foreach($galleries as $galleryId => $gallery) { // Erreur dossier vide