From 4935e9ca2777c0690711bf899e34dbcfc47ae916 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Tue, 7 Feb 2006 22:46:28 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20324346:=20When=20'shutdownhtml'=20is=20se?= =?UTF-8?q?t,=20accessing=20foo.cgi=3Fformat=3Dbar=20displays=20plain=20te?= =?UTF-8?q?xt=20instead=20of=20html=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric?= =?UTF-8?q?=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@189365 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla.pm b/mozilla/webtools/bugzilla/Bugzilla.pm index 86d6e6e70de..2a0a6601483 100644 --- a/mozilla/webtools/bugzilla/Bugzilla.pm +++ b/mozilla/webtools/bugzilla/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 {