summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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);