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 --- config.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index a50f3aaf6..3675a342f 100755 --- a/config.cgi +++ b/config.cgi @@ -42,7 +42,7 @@ my $user = Bugzilla->login(LOGIN_OPTIONAL); # If the 'requirelogin' parameter is on and the user is not # authenticated, return empty fields. -if (Param('requirelogin') && !$user->id) { +if (Bugzilla->params->{'requirelogin'} && !$user->id) { display_data(); } -- cgit v1.2.3-24-g4f1b