зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
37dae61fa1
Коммит
693b925ba7
|
@ -101,7 +101,7 @@ if (!defined $product) {
|
|||
|
||||
$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)
|
||||
|| ThrowTemplateError($template->error());
|
||||
exit;
|
||||
|
|
|
@ -87,8 +87,7 @@ UserInGroup("editbugs")
|
|||
action => "run",
|
||||
object => "sanity_check"});
|
||||
|
||||
print "Content-type: text/html\n";
|
||||
print "\n";
|
||||
print $cgi->header();
|
||||
|
||||
my @row;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче