summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-02-08 07:46:28 +0100
committerlpsolit%gmail.com <>2006-02-08 07:46:28 +0100
commitd2a857f7732d5c6df84d105d33229c2d93b7c3b8 (patch)
tree00d76f36f1ed9492a381ed0606a290724fa130ea /Bugzilla.pm
parent93f433815b83ce1bf4bf2294fc152e52a274c9c8 (diff)
downloadbugzilla-d2a857f7732d5c6df84d105d33229c2d93b7c3b8.tar.gz
bugzilla-d2a857f7732d5c6df84d105d33229c2d93b7c3b8.tar.xz
Bug 324346: When 'shutdownhtml' is set, accessing foo.cgi?format=bar displays plain text instead of html - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 86d6e6e70..2a0a66014 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 {