From: Evan Prodromou Date: Tue, 22 Jul 2008 16:36:18 +0000 (-0400) Subject: fix content check so it shows zeros X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=905ba4998b6388c5a5c23262beff276441d8c393;p=quix0rs-gnu-social.git fix content check so it shows zeros darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz --- 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);