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);
+ }
}
}
}