diff --git a/buglist.cgi b/buglist.cgi index 2a71450aaf2665333790504a0cfc91740d387031..64d7beed04704584f3c9ed293425d0ecd8a13469 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -373,7 +373,7 @@ elsif (($::FORM{'cmdtype'} eq "doit") && $::FORM{'remtype'}) { $vars->{'queryname'} = $name; - print "Content-Type: text/html\n\n"; + print $cgi->header(); $template->process("global/message.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit;