aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-03-18 09:34:32 +0000
committerlpsolit%gmail.com <>2005-03-18 09:34:32 +0000
commit1428811fd7d4ea3a8c081859fd24a0374e4955ef (patch)
tree36fa613613e260f67266990edc31b2987cacb152
parentBug 285708 : colchange.cgi shows "actual_hours" instead of "Actual Hours" (diff)
downloadbugzilla-1428811fd7d4ea3a8c081859fd24a0374e4955ef.tar.gz
bugzilla-1428811fd7d4ea3a8c081859fd24a0374e4955ef.tar.bz2
bugzilla-1428811fd7d4ea3a8c081859fd24a0374e4955ef.zip
Bug 286311: print "Content-type..." is used instead of print $cgi->header() (cookies aren't sent in header) - Patch by Frederic Buclin <LpSolit@gmail.com> (original author: Jacob Steenhagen) r=justdave, a=justdave
-rwxr-xr-xsanitycheck.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index d7dc59770..5f67dbae7 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -84,8 +84,7 @@ my $cgi = Bugzilla->cgi;
UserInGroup("editbugs")
|| ThrowUserError("sanity_check_access_denied");
-print "Content-type: text/html\n";
-print "\n";
+print $cgi->header();
my @row;