From d2a857f7732d5c6df84d105d33229c2d93b7c3b8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 8 Feb 2006 06:46:28 +0000 Subject: [PATCH] =?utf8?q?Bug=20324346:=20When=20'shutdownhtml'=20is=20set?= =?utf8?q?,=20accessing=20foo.cgi=3Fformat=3Dbar=20displays=20plain=20text?= =?utf8?q?=20instead=20of=20html=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20B?= =?utf8?q?uclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla.pm b/Bugzilla.pm index 86d6e6e70d..2a0a660148 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -94,8 +94,8 @@ if (!$^C # Generate and return a message about the downtime, appropriately # for if we're a command-line script or a CGI sript. my $extension; - if (i_am_cgi() && (!Bugzilla->cgi->param('format') - || Bugzilla->cgi->param('format') eq 'html')) { + if (i_am_cgi() && (!Bugzilla->cgi->param('ctype') + || Bugzilla->cgi->param('ctype') eq 'html')) { $extension = 'html'; } else { -- 2.47.2