summaryrefslogtreecommitdiffstats
path: root/editvalues.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-xeditvalues.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editvalues.cgi b/editvalues.cgi
index 361e206e5..ffb7ce576 100755
--- a/editvalues.cgi
+++ b/editvalues.cgi
@@ -118,7 +118,7 @@ $vars->{'doc_section'} = 'edit-values.html';
print $cgi->header();
-exists Bugzilla->user->groups->{'admin'} ||
+Bugzilla->user->in_group('admin') ||
ThrowUserError('auth_failure', {group => "admin",
action => "edit",
object => "field_values"});