From c0fc50d35b1e3320b28b281c16489f78babc5abb Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 27 Mar 2004 05:00:11 +0000 Subject: Patch for bug 237369: implement relatively simple changes from %FORM to $cgi->param variable; patch by Teemu Mannermaa ; r=kiko, justdave; a=justdave. --- config.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index a02ff8c7b..f7cb95ee5 100755 --- a/config.cgi +++ b/config.cgi @@ -53,8 +53,6 @@ use vars @legal_target_milestone @legal_versions @legal_keywords - - %FORM ); # Use the global template variables defined in globals.pl @@ -92,7 +90,9 @@ $vars->{'field'} = [GetFieldDefs()]; # Determine how the user would like to receive the output; # default is JavaScript. -my $format = GetFormat("config", $::FORM{'format'}, $::FORM{'ctype'} || "js"); +my $cgi = Bugzilla->cgi; +my $format = GetFormat("config", scalar($cgi->param('format')), + scalar($cgi->param('ctype')) || "js"); # Return HTTP headers. print "Content-Type: $format->{'ctype'}\n\n"; -- cgit v1.2.3-24-g4f1b