diff options
author | Dark❶ <dark-1@users.noreply.github.com> | 2018-10-29 00:28:43 +0530 |
---|---|---|
committer | Dark❶ <dark-1@users.noreply.github.com> | 2018-10-29 00:28:43 +0530 |
commit | 9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61 (patch) | |
tree | e361194d741707c252e76a055038add3e734d983 /phpBB/memberlist.php | |
parent | ed64a69760c40fcb4a4b50f82773575f6d997ff5 (diff) | |
download | forums-9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61.tar forums-9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61.tar.gz forums-9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61.tar.bz2 forums-9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61.tar.xz forums-9e375f32eb4d2eea65ba6fc929c82c65c6ab2d61.zip |
[ticket/15858] Unapproved User(s) appearing as Guest in Team Page
PHPBB3-15858
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 977857da59..d0dd70af01 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -173,7 +173,7 @@ switch ($mode) 'LEFT_JOIN' => array( array( 'FROM' => array(USERS_TABLE => 'u'), - 'ON' => 'ug.user_id = u.user_id AND ug.user_pending = 0', + 'ON' => 'ug.user_id = u.user_id', ), array( 'FROM' => array(GROUPS_TABLE => 'g'), @@ -181,7 +181,7 @@ switch ($mode) ), ), - 'WHERE' => $db->sql_in_set('g.group_id', $group_ids, false, true), + 'WHERE' => $db->sql_in_set('g.group_id', $group_ids, false, true) . ' AND ug.user_pending = 0', 'ORDER_BY' => 'u.username_clean ASC', ); |