From 24aab1927c947e5f2c74ec75306d376ab011b3ab Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Tue, 28 Mar 2000 23:18:45 +0000 Subject: [PATCH] fix another warning git-svn-id: svn://10.0.0.236/trunk@64400 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/post_bug.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/post_bug.cgi b/mozilla/webtools/bugzilla/post_bug.cgi index 0c959ad6692..2362135594a 100755 --- a/mozilla/webtools/bugzilla/post_bug.cgi +++ b/mozilla/webtools/bugzilla/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'}) {