From b1f4cf8bdc4b49c02ebebbee2553202bc46ab720 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 4 Jul 2006 04:26:20 +0000 Subject: Bug 342869: Use Bugzilla->params everywhere except templates Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- chart.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart.cgi') diff --git a/chart.cgi b/chart.cgi index 4bd83cc50..b40a8113e 100755 --- a/chart.cgi +++ b/chart.cgi @@ -90,8 +90,8 @@ if ($action eq "search") { my $user = Bugzilla->login(LOGIN_REQUIRED); -UserInGroup(Param("chartgroup")) - || ThrowUserError("auth_failure", {group => Param("chartgroup"), +UserInGroup(Bugzilla->params->{"chartgroup"}) + || ThrowUserError("auth_failure", {group => Bugzilla->params->{"chartgroup"}, action => "use", object => "charts"}); -- cgit v1.2.3-24-g4f1b