diff options
author | David M <davidmj@users.sourceforge.net> | 2007-03-14 23:25:27 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-03-14 23:25:27 +0000 |
commit | 0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3 (patch) | |
tree | fa9644f2841d4ee0cc29aaa4b1992923e602ec8d /phpBB/memberlist.php | |
parent | 018f42131ecc67740c7ed1d3f2158294121c3dff (diff) | |
download | forums-0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3.tar forums-0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3.tar.gz forums-0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3.tar.bz2 forums-0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3.tar.xz forums-0e3ea790cf7e77befabadc2e6acbbd1a1a5461b3.zip |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7195 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 93f18e4bf8..66ed17dba9 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -1119,7 +1119,7 @@ switch ($mode) $order_by = 'ug.group_leader DESC, '; $sql_where .= " AND ug.user_pending = 0 AND u.user_id = ug.user_id AND ug.group_id = $group_id"; - $sql_where_data = ' AND u.user_id = ug.user_id'; + $sql_where_data = " AND u.user_id = ug.user_id AND ug.group_id = $group_id"; } // Sorting and order @@ -1272,7 +1272,6 @@ switch ($mode) FROM " . USERS_TABLE . " u $sql_from WHERE " . $db->sql_in_set('u.user_id', $user_list) . " - $sql_where $sql_where_data"; $result = $db->sql_query($sql); |