summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 6dac96788..3d8b66184 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -164,7 +164,7 @@ if ($action eq 'search') {
# Handle selection by group.
if ($grouprestrict eq '1') {
my $grouplist = join(',',
- @{Bugzilla::User->flatten_group_membership($group->id)});
+ @{Bugzilla::Group->flatten_group_membership($group->id)});
$query .= " $nextCondition ugm.group_id IN($grouplist) ";
}
$query .= ' ORDER BY profiles.login_name';