Update html.form.class.php
This commit is contained in:
parent
1d62834b2c
commit
dbf626b92b
@ -3880,7 +3880,7 @@ class Form
|
||||
while ($i < $num)
|
||||
{
|
||||
$obj = $this->db->fetch_object($result);
|
||||
if ($selected == $obj->rowid || ($useempty === 2 && $num === 1 && empty($selected)))
|
||||
if ($selected == $obj->rowid || ($useempty == 2 && $num == 1 && empty($selected)))
|
||||
{
|
||||
print '<option value="'.$obj->rowid.'" selected>';
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user