diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index f83d692bd04..98156297b31 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -384,7 +384,7 @@ class Form if ($this->db->query($sql)) { print ''; - print ''; + print ' '; $num = $this->db->num_rows(); $i = 0; if ($num) @@ -392,7 +392,7 @@ class Form while ($i < $num) { $obj = $this->db->fetch_object(); - if ($selected == $obj->rowid) + if ($selected == $obj->code) { print ''; }