From 4e7d00592417f385d211759a015a06921dfc6113 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 2 May 2020 21:46:17 +0200 Subject: [PATCH] Position des images dans updates : correction --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 4763cbfa..038c3b96 100755 --- a/core/core.php +++ b/core/core.php @@ -1197,9 +1197,9 @@ class common { $this->setdata(['module',$parent,$galleryKey,'config','position',$i++]); } // Positions des images, tri manuel - if ( $this->getdata(['module',$parent,$galleryKey,'position']) === NULL) { + if ( $this->getdata(['module',$parent,$galleryKey,'positions']) === NULL) { $c = count($this->getdata(['module',$parent,$galleryKey,'legend'])); - $this->setdata(['module',$parent,$galleryKey,'position', range(0,$c-1) ]); + $this->setdata(['module',$parent,$galleryKey,'positions', range(0,$c-1) ]); } // Image de couverture if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) {