diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php index df5eea46e6..9749ba8950 100644 --- a/phpBB/includes/acp/acp_users.php +++ b/phpBB/includes/acp/acp_users.php @@ -895,7 +895,6 @@ class acp_users $sql = 'SELECT COUNT(post_id) as posts_in_queue FROM ' . POSTS_TABLE . ' WHERE poster_id = ' . $user_id . ' - AND post_postcount = 1 AND post_approved = 0'; $result = $db->sql_query($sql); $user_row['posts_in_queue'] = (int) $db->sql_fetchfield('posts_in_queue'); diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index e1bf09411b..a3a68a0500 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -533,7 +533,6 @@ switch ($mode) $sql = 'SELECT COUNT(post_id) as posts_in_queue FROM ' . POSTS_TABLE . ' WHERE poster_id = ' . $user_id . ' - AND post_postcount = 1 AND post_approved = 0'; $result = $db->sql_query($sql); $member['posts_in_queue'] = (int) $db->sql_fetchfield('posts_in_queue');