From 8237698bac75696d37c175499c00eadc2f9c2368 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Mon, 12 Nov 2001 12:02:26 +0000 Subject: [PATCH] Tsk, tsk, tsk, someone forgot to use the constant for the posts table git-svn-id: file:///svn/phpbb/trunk@1303 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index d90ce4dba5..69c60212fb 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -141,7 +141,8 @@ function remove_common($percent, $word_id_list = array()) $rowset = $db->sql_fetchrowset($result); $sql = "SELECT COUNT(post_id) AS total_posts - FROM phpbb_posts"; + FROM " . POSTS_TABLE; + $result = $db->sql_query($sql); if( !$result ) {