From dbf626b92b14b066d300221d6381b79c166a910d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Oct 2020 14:55:52 +0100 Subject: [PATCH] Update html.form.class.php --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 17aefec4576..f7de2a9353c 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -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 '