From 34f8f4a3b8427432a4e08d4331ee8a9be45ba3df Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Jan 2009 02:21:06 -0800 Subject: [PATCH] when a tag is used and removed, it hangs around with count=0; don't show these as popular --- ext/tag_list/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/tag_list/main.php b/ext/tag_list/main.php index cd2385c0..516261ee 100644 --- a/ext/tag_list/main.php +++ b/ext/tag_list/main.php @@ -263,6 +263,7 @@ class TagList implements Extension { $query = " SELECT tag, count FROM tags + WHERE count > 0 ORDER BY count DESC LIMIT ? ";