From 4f61ceda91dd902be15813b71272b6a33014b173 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 19 Oct 2013 19:48:39 +0000 Subject: [PATCH] Fix bug : array not set --- include/class_html_input.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/class_html_input.php b/include/class_html_input.php index a90e5d5f4..abaee2185 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -483,8 +483,12 @@ class HtmlInput if (is_array($global_array[$a]) == false ) { $r.=HtmlInput::hidden($a,$global_array [$a]); } else { - for ($i=0;$i 0) + { + foreach ($global_array[$a] as $value) + { + $r.=HtmlInput::hidden($a."[]",$value); + } } } }