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";