summaryrefslogtreecommitdiffstats
path: root/Bugzilla/FlagType.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/FlagType.pm')
-rw-r--r--Bugzilla/FlagType.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm
index b18c4a2de..313006377 100644
--- a/Bugzilla/FlagType.pm
+++ b/Bugzilla/FlagType.pm
@@ -431,12 +431,12 @@ sub validate {
# Make sure the user is authorized to modify flags, see bug 180879
# - User in the $grant_gid group can set flags, including "+" and "-"
next if (!$flag_type->{grant_gid}
- || $user->in_group(&::GroupIdToName($flag_type->{grant_gid})));
+ || $user->in_group_id($flag_type->{grant_gid}));
# - User in the $request_gid group can request flags
next if ($status eq '?'
&& (!$flag_type->{request_gid}
- || $user->in_group(&::GroupIdToName($flag_type->{request_gid}))));
+ || $user->in_group_id($flag_type->{request_gid})));
# - Any other flag modification is denied
ThrowUserError("flag_update_denied",