Mise à jour image de couverture v9

This commit is contained in:
Fred Tempez 2020-04-05 17:23:21 +02:00
parent eda235904e
commit 328fdeef71

View File

@ -1139,6 +1139,10 @@ class common {
$this->setdata(['module',$parent,$galleryKey,'config','position',$i++]); $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]); $this->setData(['core', 'dataVersion', 10000]);