We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 905ba499 authored by Evan Prodromou's avatar Evan Prodromou

fix content check so it shows zeros

darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz
parent ccfccfd6
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment