From 5d431b9b037bd2a30f68abb7a5556bf65884dade Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 28 May 2012 09:55:55 +0100 Subject: [PATCH] apparently 'false' is an object with length, and the length is 1. Fuck PHP. --- ext/tag_list/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/tag_list/main.php b/ext/tag_list/main.php index e90af658..44f65837 100644 --- a/ext/tag_list/main.php +++ b/ext/tag_list/main.php @@ -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); } }