* zin: fix number 0 not render as expected
This commit is contained in:
@@ -71,7 +71,7 @@ class dom
|
||||
foreach($children as $child)
|
||||
{
|
||||
if(is_array($child)) $this->add($child);
|
||||
elseif(!empty($child)) $this->children[] = $child;
|
||||
else $this->children[] = $child;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user