summaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index 8ef9afe1a..1eef8ae90 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -62,7 +62,7 @@ Bugzilla->login(LOGIN_REQUIRED);
print $cgi->header();
-exists Bugzilla->user->groups->{'editclassifications'}
+Bugzilla->user->in_group('editclassifications')
|| ThrowUserError("auth_failure", {group => "editclassifications",
action => "edit",
object => "classifications"});