apparently 'false' is an object with length, and the length is 1. Fuck PHP.

This commit is contained in:
Shish 2012-05-28 09:55:55 +01:00
parent a809e95ff1
commit 5d431b9b03

View file

@ -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);
}
}