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);