fixed return of "<b></b>" for empty textfields

This commit is contained in:
Ralf Becker 2006-03-21 17:11:57 +00:00
parent dc38f4afd8
commit 9dfb3f5629

View File

@ -897,7 +897,7 @@
case 'text': // size: [length][,maxLength[,preg]]
if ($readonly)
{
$html .= $this->html->bold($this->html->htmlspecialchars($value));
$html .= strlen($value) ? $this->html->bold($this->html->htmlspecialchars($value)) : '';
}
else
{