From 77d4fcbdd8825fbec25aa7c9ec5ba9bdb4849fc5 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 5 Apr 2020 18:22:48 +0200 Subject: [PATCH] =?UTF-8?q?couverture=20gallery=20v9=20=C3=A0=20v10=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core.php b/core/core.php index 0de4dd27..09ba21a8 100644 --- a/core/core.php +++ b/core/core.php @@ -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','']); + } } } }