diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 2cce0fcbdfa..d2afb9a8633 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -1447,7 +1447,8 @@ class Form
$num = $this->db->num_rows($result);
- $outselect.='