From c01f429724db5cd45ee2131ec540e494c663ab14 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 17 Sep 2002 22:52:24 +0000 Subject: [PATCH] allow attr-values of '0' as the default is sometimes not 0 --- etemplate/inc/class.xul_io.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php index 63e3e8bb66..cada6b3398 100644 --- a/etemplate/inc/class.xul_io.inc.php +++ b/etemplate/inc/class.xul_io.inc.php @@ -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') {