From 328fdeef7108e9b05420157add1d430388c5e4bc Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 5 Apr 2020 17:23:21 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=20=C3=A0=20jour=20image=20de=20couvertu?= =?UTF-8?q?re=20v9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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]);