diff options
Diffstat (limited to 'includes/footer.php')
-rwxr-xr-x | includes/footer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/footer.php b/includes/footer.php index 4fe5ec5..be8dd1b 100755 --- a/includes/footer.php +++ b/includes/footer.php | |||
@@ -211,7 +211,7 @@ if (!isset($noRightbar)) | |||
211 | $i=0; | 211 | $i=0; |
212 | while ($gettags3[$i] = mysql_fetch_array($gettags2)) | 212 | while ($gettags3[$i] = mysql_fetch_array($gettags2)) |
213 | { | 213 | { |
214 | $cnttag = "SELECT COUNT(*) FROM tags WHERE tag = \"" . $gettags3[$i]['tag'] . "\""; | 214 | $cnttag = "SELECT COUNT(*) FROM tags WHERE tag = \"" . $gettags3[$i]['tag'] . "\" AND post_type = \"published\""; |
215 | $cnttag2 = mysql_query($cnttag); | 215 | $cnttag2 = mysql_query($cnttag); |
216 | $cnttag3 = mysql_fetch_array($cnttag2); | 216 | $cnttag3 = mysql_fetch_array($cnttag2); |
217 | 217 | ||