summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-08 06:26:33 +0000
committermkanat%bugzilla.org <>2008-08-08 06:26:33 +0000
commit50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 (patch)
tree424d04a868fb5fdffbfa2dd65cc8903ece84895f /editclassifications.cgi
parentBug 449663: Code error thrown when resolving bug as duplicate of a bug the re... (diff)
downloadbugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.gz
bugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.bz2
bugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.zip
Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names).
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"});