From 345e0c69f986d99be3e87130f324fb0634df4f50 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 28 Apr 2020 08:25:10 +0200 Subject: [PATCH] Gallery trop longue --- module/gallery/gallery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 61a3b43b..beb4a687 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -19,7 +19,7 @@ class gallery extends common { const SORT_ASC = 'SORT_ASC'; const SORT_DSC = 'SORT_DSC'; const SORT_HAND = 'SORT_HAND'; - const GALLERY_VERSION = '2.21'; + const GALLERY_VERSION = '2.22'; public static $directories = []; @@ -320,7 +320,7 @@ class gallery extends common { if ($this->getInput('galleryEditFormResponse') && $this->getInput('galleryEditSort') === self::SORT_HAND) { // Tri des images si valeur de retour et choix manuel - $picturesPosition = explode('&',($this->getInput('galleryEditFormResponse'))); + $picturesPosition = explode('&',($this->getInput('galleryEditFormResponse',helper::FILTER_STRING_LONG))); $picturesPosition = str_replace('galleryTable%5B%5D=','',$picturesPosition); $picturesPosition = array_flip($picturesPosition); }