* zin: fix number 0 not render as expected

This commit is contained in:
sunhao
2023-04-25 18:32:19 +08:00
parent 640cd1cbfe
commit b2949cd027
+1 -1
View File
@@ -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;
}
}