diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 5dd4db65bab..564c917ef1a 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -2464,8 +2464,9 @@ class Form
while ($obj = $db->fetch_object($resql)) {
$product = new Product($db);
$res = $product->fetch($obj->fk_product);
- if ($obj->rowid == $selected) $out .= '';
- $out .= '';
+ $out .= '';
}
} else {
$error++;