Fix: i can view a zero value
This commit is contained in:
parent
a2844b5575
commit
1b41d7b936
@ -193,7 +193,7 @@ class Form
|
||||
$s.='<table class="nobordernopadding" summary=""><tr>';
|
||||
if ($direction > 0)
|
||||
{
|
||||
if ($text)
|
||||
if (!empty($text) || $text == 0)
|
||||
{
|
||||
$s.='<td'.$paramfortooltiptext.'>'.$text;
|
||||
if ($direction) $s.=' ';
|
||||
@ -204,7 +204,7 @@ class Form
|
||||
else
|
||||
{
|
||||
if ($direction) $s.='<td'.$paramfortooltippicto.' valign="top" width="14">'.$img.'</td>';
|
||||
if ($text)
|
||||
if (!empty($text) || $text == 0)
|
||||
{
|
||||
$s.='<td'.$paramfortooltiptext.'>';
|
||||
if ($direction) $s.=' ';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user