From 3a90899e3d1eba066acff66761387b63338eacf2 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 12 Aug 2003 20:53:13 +0000 Subject: [PATCH] Fix topic count query git-svn-id: file:///svn/phpbb/trunk@4392 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 815deb37eb..5641a4b55d 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -219,7 +219,7 @@ if ($forum_data['forum_type'] == FORUM_POST) WHERE forum_id = $forum_id AND topic_type <> " . POST_ANNOUNCE . " AND topic_last_post_time >= $min_post_time - " . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND t.topic_approved = 1'); + " . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND topic_approved = 1'); $result = $db->sql_query($sql); if (isset($_POST['sort']))