allow attr-values of '0' as the default is sometimes not 0

This commit is contained in:
Ralf Becker 2002-09-17 22:52:24 +00:00
parent 29ec804531
commit c01f429724

View File

@ -97,7 +97,7 @@
$vals = count($attrs) > 1 ? explode(',',$val) : array($val);
while (list($n,$attr) = each($attrs))
{
if ($val = $vals[$n])
if (($val = $vals[$n]) != '')
{
if ($attr == 'span')
{