diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 49a7f816320..a9187f9f7b7 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -8112,7 +8112,9 @@ class Form
if ($typehour == 'select' || $typehour == 'textselect') {
$retstring .= '