Missing querycount

git-svn-id: http://svn.automattic.com/wordpress/trunk@558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle
2003-11-25 00:46:52 +00:00
parent 1c5322e065
commit 3e120068f9
27 changed files with 95 additions and 31 deletions

View File

@@ -271,6 +271,7 @@ echo $posts_nav_bar;
if (($withcomments) or ($c)) {
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
++$querycount;
if ($comments) {
?>
@@ -353,4 +354,4 @@ echo $posts_nav_bar;
<?php
// uncomment this to show the nav bar at the bottom as well
// echo $posts_nav_bar;
?>
?>