From: dmose%mozilla.org <> Date: Wed, 29 Mar 2000 07:18:45 +0000 (+0000) Subject: fix another warning X-Git-Tag: bugzilla-2.12~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb70f63129171c05b80d71d87524c2494e0bf04c;p=thirdparty%2Fbugzilla.git fix another warning --- diff --git a/post_bug.cgi b/post_bug.cgi index 0c959ad669..2362135594 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'}) {