diff options
author | dmose%mozilla.org <> | 2000-03-29 09:18:45 +0200 |
---|---|---|
committer | dmose%mozilla.org <> | 2000-03-29 09:18:45 +0200 |
commit | fb70f63129171c05b80d71d87524c2494e0bf04c (patch) | |
tree | 7412e530f0f6979925b2d20ca50f3e5d7b9e4858 /post_bug.cgi | |
parent | 73f052a0e1fc657af85424cfdadb336cb524c97e (diff) | |
download | bugzilla-fb70f63129171c05b80d71d87524c2494e0bf04c.tar.gz bugzilla-fb70f63129171c05b80d71d87524c2494e0bf04c.tar.xz |
fix another warning
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index 0c959ad66..236213559 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -47,8 +47,9 @@ sub sillyness { confirm_login(); -print "Set-Cookie: PLATFORM=$::FORM{'product'} ; path=/ ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n"; -print "Set-Cookie: VERSION-$::FORM{'product'}=$::FORM{'version'} ; path=/ ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n"; +print "Set-Cookie: PLATFORM=$::FORM{'product'} ; path=/ ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n" if ( exists $::FORM{'product'} ); +print "Set-Cookie: VERSION-$::FORM{'product'}=$::FORM{'version'} ; path=/ ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n" if ( exists $::FORM{'product'} && exists $::FORM{'version'} ); + print "Content-type: text/html\n\n"; if (defined $::FORM{'maketemplate'}) { |