From 50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 8 Aug 2008 06:26:33 +0000 Subject: Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names). --- editclassifications.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editclassifications.cgi') 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"}); -- cgit v1.2.3-24-g4f1b