From 7b01190bcdd9d166bb0528416d2c9c133e7c73ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Thu, 19 May 2022 18:47:49 +0200 Subject: [PATCH] gallery bug unique gallery --- module/gallery/gallery.php | 2 +- module/gallery/view/option/option.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index e36a92c7..07f61521 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -878,7 +878,7 @@ class gallery extends common { // Sauver la configuration de la galerie $this->setData(['module', $this->getUrl(0), 'config', [ - 'showUniqueGallery' => $this->getinput('galleryOptionShowUniqueGallery', helper::FILTER_BOOLEAN), + 'showUniqueGallery' => $this->getinput('galleriesOptionShowUniqueGallery', helper::FILTER_BOOLEAN), 'backPosition' => $this->getinput('galleryOptionBackPosition', null), 'backAlign' => $this->getinput('galleryOptionBackAlign', null) ]]); diff --git a/module/gallery/view/option/option.php b/module/gallery/view/option/option.php index a6c1c761..20282309 100644 --- a/module/gallery/view/option/option.php +++ b/module/gallery/view/option/option.php @@ -18,7 +18,7 @@

Options

- count($this->getData(['module', $this->getUrl(0), 'content'])) === 1 ? $this->getData(['module', $this->getUrl(0), 'config', 'showUniqueGallery']) : false,