aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-01 21:37:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-01 21:37:53 +0000
commit395fb81a0fa0a240b11ad66c14830f0afbf0e7bc (patch)
tree6063675dc9ff2281b7e925c64f1394d64e08168f /phpBB/memberlist.php
parent528cf7de0f0e72a9ca3e6ba3813b578606bee40b (diff)
downloadforums-395fb81a0fa0a240b11ad66c14830f0afbf0e7bc.tar
forums-395fb81a0fa0a240b11ad66c14830f0afbf0e7bc.tar.gz
forums-395fb81a0fa0a240b11ad66c14830f0afbf0e7bc.tar.bz2
forums-395fb81a0fa0a240b11ad66c14830f0afbf0e7bc.tar.xz
forums-395fb81a0fa0a240b11ad66c14830f0afbf0e7bc.zip
actually, queued posts can also be in forums with no post counts
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8802 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php1
1 files changed, 0 insertions, 1 deletions
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');