Commit ce4faab6 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 286311: print "Context-type..." is used instead of print $cgi->header()…

Bug 286311: print "Context-type..." is used instead of print $cgi->header() (cookies aren't sent in header) - Patch by Jacob Steenhagen <jake@bugzilla.org> r=LpSolit a=justdave
parent 4374ee31
...@@ -101,7 +101,7 @@ if (!defined $product) { ...@@ -101,7 +101,7 @@ if (!defined $product) {
$vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id'); $vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id');
print "Content-type: text/html\n\n"; print $cgi->header();
$template->process("global/choose-classification.html.tmpl", $vars) $template->process("global/choose-classification.html.tmpl", $vars)
|| ThrowTemplateError($template->error()); || ThrowTemplateError($template->error());
exit; exit;
......
...@@ -87,8 +87,7 @@ UserInGroup("editbugs") ...@@ -87,8 +87,7 @@ UserInGroup("editbugs")
action => "run", action => "run",
object => "sanity_check"}); object => "sanity_check"});
print "Content-type: text/html\n"; print $cgi->header();
print "\n";
my @row; my @row;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment