From 905ba4998b6388c5a5c23262beff276441d8c393 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 22 Jul 2008 12:36:18 -0400 Subject: [PATCH] fix content check so it shows zeros darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 36ccfe29a7..1d3d26da44 100644 --- a/lib/util.php +++ b/lib/util.php @@ -108,7 +108,7 @@ function common_element_end($tag) { function common_element($tag, $attrs=NULL, $content=NULL) { common_element_start($tag, $attrs); global $xw; - if ($content) { + if (!is_null($content)) { $xw->text($content); } common_element_end($tag);