]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 286311: print "Context-type..." is used instead of print $cgi->header() (cookies...
authorlpsolit%gmail.com <>
Thu, 17 Mar 2005 23:14:58 +0000 (23:14 +0000)
committerlpsolit%gmail.com <>
Thu, 17 Mar 2005 23:14:58 +0000 (23:14 +0000)
enter_bug.cgi
sanitycheck.cgi

index 634bc621549da38a64b12e27bc36e2738dcae9d1..58662489a3cca7afaf13d3ff0dae87ee4a5d8b81 100755 (executable)
@@ -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;        
index 84f41c398966debfd017f421c876ee8ae9952b6e..c05f0e50d5dfac7cce8f6d449df18c097ed46918 100755 (executable)
@@ -87,8 +87,7 @@ UserInGroup("editbugs")
                                      action => "run",
                                      object => "sanity_check"});
 
-print "Content-type: text/html\n";
-print "\n";
+print $cgi->header();
 
 my @row;