forked from GNUsocial/gnu-social
fix content check so it shows zeros
darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz
This commit is contained in:
parent
ccfccfd645
commit
905ba4998b
@ -108,7 +108,7 @@ function common_element_end($tag) {
|
|||||||
function common_element($tag, $attrs=NULL, $content=NULL) {
|
function common_element($tag, $attrs=NULL, $content=NULL) {
|
||||||
common_element_start($tag, $attrs);
|
common_element_start($tag, $attrs);
|
||||||
global $xw;
|
global $xw;
|
||||||
if ($content) {
|
if (!is_null($content)) {
|
||||||
$xw->text($content);
|
$xw->text($content);
|
||||||
}
|
}
|
||||||
common_element_end($tag);
|
common_element_end($tag);
|
||||||
|
Loading…
Reference in New Issue
Block a user