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