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]); }