diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 1d425c49497..cf42424a0d9 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -193,7 +193,7 @@ class Form $s.=''; if ($direction > 0) { - if ($text) + if (!empty($text) || $text == 0) { $s.=''.$text; if ($direction) $s.=' '; @@ -204,7 +204,7 @@ class Form else { if ($direction) $s.=''.$img.''; - if ($text) + if (!empty($text) || $text == 0) { $s.=''; if ($direction) $s.=' ';