couverture gallery v9 à v10 fix

This commit is contained in:
Fred Tempez 2020-04-05 18:22:48 +02:00
parent ca2b7dda60
commit 77d4fcbdd8

View File

@ -1138,10 +1138,10 @@ class common {
if ( $this->getdata(['module',$parent,$galleryKey,'config','position']) === NULL) { if ( $this->getdata(['module',$parent,$galleryKey,'config','position']) === NULL) {
$this->setdata(['module',$parent,$galleryKey,'config','position',$i++]); $this->setdata(['module',$parent,$galleryKey,'config','position',$i++]);
} }
} // Image de couverture
// Image de couverture if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) {
if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) { $this->setdata(['module',$parent,$galleryKey,'config','homePicture','']);
$this->setdata(['module',$parent,$galleryKey,'config','homePicture','']); }
} }
} }
} }