couverture gallery v9 à v10 fix

This commit is contained in:
Fred Tempez 2020-04-05 18:22:48 +02:00
parent ca2b7dda60
commit 77d4fcbdd8
1 changed files with 4 additions and 4 deletions

View File

@ -1138,10 +1138,10 @@ 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','']);
// Image de couverture
if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) {
$this->setdata(['module',$parent,$galleryKey,'config','homePicture','']);
}
}
}
}