aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-11 14:10:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:22 +0200
commit2ec9c08a2bce2cb83c68339d2d07039cabc44d68 (patch)
tree17e48c56e526046f0e1d34f157e3791e67be435a /phpBB/memberlist.php
parentdac01e8ca534b4d145d99e49a6aee173b85925f5 (diff)
downloadforums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.gz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.bz2
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.xz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.zip
[ticket/12052] Use different visibility when post was edited
... and needs to be reapproved. PHPBB3-12052
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 8fceb4ac5b..1e59c2abde 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -624,7 +624,7 @@ switch ($mode)
$sql = 'SELECT COUNT(post_id) as posts_in_queue
FROM ' . POSTS_TABLE . '
WHERE poster_id = ' . $user_id . '
- AND post_visibility = ' . ITEM_UNAPPROVED;
+ AND ' . $db->sql_in_set('post_visibility', array(ITEM_UNAPPROVED, ITEM_REAPPROVE));
$result = $db->sql_query($sql);
$member['posts_in_queue'] = (int) $db->sql_fetchfield('posts_in_queue');
$db->sql_freeresult($result);