From e22ad9998d5926f39d47c922e46cc0f8393a653a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 5 Oct 2022 07:22:22 +0200 Subject: [PATCH] nettoyage --- module/gallery/gallery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 080f5ff3..2385d590 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -224,7 +224,6 @@ class gallery extends common { if ( $this->getData(['module', $this->getUrl(0), 'theme']) === null ) { require_once('module/gallery/ressource/defaultdata.php'); $this->setData(['module', $this->getUrl(0), 'theme', theme::$defaultTheme]); - $this->setData(['module', $this->getUrl(0), 'config', theme::$defaultConfig]); // Nom de la feuille de style $this->setData(['module', $this->getUrl(0), 'theme', 'style', $fileCSS]); } @@ -267,7 +266,7 @@ class gallery extends common { || is_null($this->getData(['module', $this->getUrl(0), 'config', 'backPosition'])) || is_null($this->getData(['module', $this->getUrl(0), 'config', 'backAlign'])) ) { - $this->setData(['module', $this->getUrl(0), 'config', theme::$defaultConfig]); + $this->setData(['module', $this->getUrl(0), 'config', theme::$defaultData]); } // Contenu vide de la galerie