From f6fdc13101ad101f8f9422eea4fb6a7a2bbd4d31 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 1 May 2007 13:33:41 +0000 Subject: [PATCH] tag count for refine search is misleading git-svn-id: file:///home/shish/svn/shimmie2/trunk@50 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/tag_list.ext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/tag_list.ext.php b/ext/tag_list.ext.php index 5a17656e..feeeda35 100644 --- a/ext/tag_list.ext.php +++ b/ext/tag_list.ext.php @@ -180,13 +180,13 @@ class TagList extends Extension { if($n++) $html .= "
"; $link = $this->tag_link($row['tag']); $html .= "$h_tag_no_underscores\n"; - if($show_count) { - $html .= " ($count)"; - } if(!is_null($callback)) { $html .= $this->$callback($tag, $cbdata); } else { + if($show_count) { + $html .= " ($count)"; + } if(!is_null($config->get_string('info_link'))) { $link = str_replace('$tag', $tag, $config->get_string('info_link')); $html .= " ?\n";