mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue