fix content check so it shows zeros

darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz
This commit is contained in:
Evan Prodromou 2008-07-22 12:36:18 -04:00
parent ccfccfd645
commit 905ba4998b
1 changed files with 1 additions and 1 deletions

View File

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