diff --git a/core/block.class.php b/core/block.class.php index 6a2844cb..149a0a13 100644 --- a/core/block.class.php +++ b/core/block.class.php @@ -53,8 +53,8 @@ class Block { $i = $this->id; $html = "
"; $h_toggler = $hidable ? " shm-toggler" : ""; - if(!is_null($h)) $html .= "

$h

"; - if(!is_null($b)) $html .= "
$b
"; + if(!empty($h)) $html .= "

$h

"; + if(!empty($b)) $html .= "
$b
"; $html .= "
\n"; return $html; }