Commit 774aec61 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't display deleted users in my groups member listing

parent c4726450
......@@ -1094,7 +1094,7 @@ function group_get_associated_groups($userid, $filter='all', $limit=20, $offset=
$members = get_records_sql_array("
FROM {group_member} gm
INNER JOIN {usr} u ON gm.member =
INNER JOIN {usr} u ON (gm.member = AND u.deleted = 0)
ORDER BY " . db_random() . "
LIMIT 3", array($groupid));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment