diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index aab16079aef..bf50f09ea52 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -8212,7 +8212,7 @@ class Form
}
$idname = str_replace(array('[', ']'), array('', ''), $htmlname);
- $out .= '