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.='
| '.$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.=' '; |