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:
parent
489039ba54
commit
8237698bac
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user