diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 33f3c15151a..0f8e724692f 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4375,9 +4375,9 @@ class Form
while ($i < $num) {
$obj = $this->db->fetch_object($result);
if ($selected == $obj->rowid || ($useempty == 2 && $num == 1 && empty($selected))) {
- $out .= '