summaryrefslogtreecommitdiffstats
path: root/editwhines.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editwhines.cgi')
-rwxr-xr-xeditwhines.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editwhines.cgi b/editwhines.cgi
index 0aed19b7a..800c5385a 100755
--- a/editwhines.cgi
+++ b/editwhines.cgi
@@ -80,7 +80,7 @@ $user->in_group('bz_canusewhines')
object => "reports"});
# May this user send mail to other users?
-my $can_mail_others = UserInGroup('bz_canusewhineatothers');
+my $can_mail_others = Bugzilla->user->in_group('bz_canusewhineatothers');
# If the form was submitted, we need to look for what needs to be added or
# removed, then what was altered.