Bug 143486 - enter_bug.cgi: Using ?format=simple doesn't work. Patch by burnus@gmx.de; 2xr=gerv.

This commit is contained in:
gerv%gerv.net 2002-05-10 23:32:24 +00:00
parent 82852b8d5d
commit 768e6858c7

View File

@ -374,7 +374,7 @@ if ($::usergroupset ne '0') {
$vars->{'default'} = \%default;
my $format = ValidateOutputFormat($::FORM{'format'}, "create");
my $format = ValidateOutputFormat($::FORM{'format'}, "create", "bug/create");
print "Content-type: $format->{'contenttype'}\n\n";
$template->process("bug/create/$format->{'template'}", $vars)