forked from extern/egroupware
allow attr-values of '0' as the default is sometimes not 0
This commit is contained in:
parent
29ec804531
commit
c01f429724
@ -97,7 +97,7 @@
|
|||||||
$vals = count($attrs) > 1 ? explode(',',$val) : array($val);
|
$vals = count($attrs) > 1 ? explode(',',$val) : array($val);
|
||||||
while (list($n,$attr) = each($attrs))
|
while (list($n,$attr) = each($attrs))
|
||||||
{
|
{
|
||||||
if ($val = $vals[$n])
|
if (($val = $vals[$n]) != '')
|
||||||
{
|
{
|
||||||
if ($attr == 'span')
|
if ($attr == 'span')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user