apparently 'false' is an object with length, and the length is 1. Fuck PHP.
This commit is contained in:
parent
a809e95ff1
commit
5d431b9b03
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ class TagList extends Extension {
|
|||
}
|
||||
}
|
||||
|
||||
if(count($related_tags) > 0) {
|
||||
if(!empty($related_tags)) {
|
||||
$this->theme->display_refine_block($page, $related_tags, $wild_tags);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue