mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02: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:
@@ -141,7 +141,8 @@ function remove_common($percent, $word_id_list = array())
|
|||||||
$rowset = $db->sql_fetchrowset($result);
|
$rowset = $db->sql_fetchrowset($result);
|
||||||
|
|
||||||
$sql = "SELECT COUNT(post_id) AS total_posts
|
$sql = "SELECT COUNT(post_id) AS total_posts
|
||||||
FROM phpbb_posts";
|
FROM " . POSTS_TABLE;
|
||||||
|
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if( !$result )
|
if( !$result )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user