tweak
This commit is contained in:
parent
fe72ba25d0
commit
d268380e95
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Page extends BasePage
|
|||
|
||||
$main_headings = 0;
|
||||
foreach ($this->blocks as $block) {
|
||||
if ($block->section == "main" && !is_null($block->header) && $block->header != "Comments") {
|
||||
if ($block->section == "main" && !empty($block->header) && $block->header != "Comments") {
|
||||
$main_headings++;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue