1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

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
This commit is contained in:
James Atkinson 2001-11-12 12:02:26 +00:00
parent 489039ba54
commit 8237698bac

View File

@ -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 )
{