diff --git a/core/core.php b/core/core.php index 0d3366ce..0de4dd27 100644 --- a/core/core.php +++ b/core/core.php @@ -1138,7 +1138,11 @@ class common { if ( $this->getdata(['module',$parent,$galleryKey,'config','position']) === NULL) { $this->setdata(['module',$parent,$galleryKey,'config','position',$i++]); } - } + } + // Image de couverture + if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) { + $this->setdata(['module',$parent,$galleryKey,'config','homePicture','']); + } } } $this->setData(['core', 'dataVersion', 10000]);