From ee5477414d2b1c97b03a720572f83e75b96dffc9 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 1 Feb 2023 21:26:02 +0100 Subject: [PATCH] gallery 3.8 --- module/gallery/changes.md | 2 ++ module/gallery/gallery.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/module/gallery/changes.md b/module/gallery/changes.md index b3e0a85c..811f54b0 100644 --- a/module/gallery/changes.md +++ b/module/gallery/changes.md @@ -1,3 +1,5 @@ +# Version 3.8 +- Version compare null, dataversion not initialize # Version 3.7 - Multilinguisme # Version 3.61 diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 8d937bfa..9119935e 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -17,7 +17,7 @@ class gallery extends common { - const VERSION = '3.7'; + const VERSION = '3.8'; const REALNAME = 'Galerie'; const DATADIRECTORY = self::DATA_DIR . 'gallery/'; @@ -265,6 +265,7 @@ class gallery extends common { if ( is_null($this->getData(['module', $this->getUrl(0), 'config', 'showUniqueGallery'])) || is_null($this->getData(['module', $this->getUrl(0), 'config', 'backPosition'])) || is_null($this->getData(['module', $this->getUrl(0), 'config', 'backAlign'])) + || is_null($this->getData(['module', $this->getUrl(0), 'config', 'versionData'])) ) { $this->setData(['module', $this->getUrl(0), 'config', theme::$defaultData]); }