Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
774aec61
Commit
774aec61
authored
Aug 20, 2009
by
Richard Mansfield
Browse files
Don't display deleted users in my groups member listing
parent
c4726450
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/group.php
View file @
774aec61
...
@@ -1094,7 +1094,7 @@ function group_get_associated_groups($userid, $filter='all', $limit=20, $offset=
...
@@ -1094,7 +1094,7 @@ function group_get_associated_groups($userid, $filter='all', $limit=20, $offset=
$members
=
get_records_sql_array
(
"
$members
=
get_records_sql_array
(
"
SELECT u.*
SELECT u.*
FROM
{
group_member
}
gm
FROM
{
group_member
}
gm
INNER JOIN
{
usr
}
u ON gm.member = u.id
INNER JOIN
{
usr
}
u ON
(
gm.member = u.id
AND u.deleted = 0)
WHERE gm.group = ?
WHERE gm.group = ?
ORDER BY "
.
db_random
()
.
"
ORDER BY "
.
db_random
()
.
"
LIMIT 3"
,
array
(
$groupid
));
LIMIT 3"
,
array
(
$groupid
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment