gallery 3.8

This commit is contained in:
Fred Tempez 2023-02-01 21:26:02 +01:00
parent 8d6dc7f2e4
commit ee5477414d
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# Version 3.8
- Version compare null, dataversion not initialize
# Version 3.7
- Multilinguisme
# Version 3.61

View File

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