diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 99ee1b6af9b..8a77367bc25 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -1382,12 +1382,12 @@ class FormOther
while ($i < $num) {
$obj = $this->db->fetch_object($result);
- if ($selected == $obj->rowid || $selected == $obj->$keyfield) {
- print '';
$i++;
}