apparently 'false' is an object with length, and the length is 1. Fuck PHP.
This commit is contained in:
parent
a809e95ff1
commit
5d431b9b03
@ -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);
|
$this->theme->display_refine_block($page, $related_tags, $wild_tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user