aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-11-12 12:02:26 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-11-12 12:02:26 +0000
commit8237698bac75696d37c175499c00eadc2f9c2368 (patch)
tree26b539cf28fbc0df9938febca66cf4489a4c917f /phpBB
parent489039ba5419fa689f9a75d4c9ccd605230aa38a (diff)
downloadforums-8237698bac75696d37c175499c00eadc2f9c2368.tar
forums-8237698bac75696d37c175499c00eadc2f9c2368.tar.gz
forums-8237698bac75696d37c175499c00eadc2f9c2368.tar.bz2
forums-8237698bac75696d37c175499c00eadc2f9c2368.tar.xz
forums-8237698bac75696d37c175499c00eadc2f9c2368.zip
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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/posting.php3
1 files changed, 2 insertions, 1 deletions
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 )
{