summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 12:36:18 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 12:36:18 -0400
commit905ba4998b6388c5a5c23262beff276441d8c393 (patch)
treebd32ee8d42cd4b1d9835a3464e34298c0e359fc3 /lib/util.php
parentccfccfd645d5653040144a0f6884cbc5312b4fbd (diff)
fix content check so it shows zeros
darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 36ccfe29a..1d3d26da4 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);