Use the $address to submit bugs, so it goes to the right place.

This commit is contained in:
Jeff Teunissen 2003-07-21 11:53:54 +00:00
parent 39d6c37152
commit 003716271d

View file

@ -70,7 +70,8 @@ if ($pkg && $version && $severity && $os && $details && $subj) {
echo "To: <TT>$address</TT><BR>\n";
echo 'Subject: <TT>' . StripSlashes($subj) . '</TT><br>';
echo '<pre>' . StripSlashes ($mail) . '</pre>';
mail ('quakeforge-devel@lists.quakeforge.net', $subj, $mail, "From: website <quakeforge-devel@lists.quakeforge.net>");
mail ($address, $subj, $mail, "From: \"Bug-Submission Form\" <$address>");
echo '<P>Bug report sent!</P>';
} else {
?><P><STRONG>Note:</STRONG> All fields <STRONG>must</STRONG> be filled in.</P><FORM name="bug" method="post"><table><?
do_list ("Package", "pkg", ",QuakeForge,QuakeIIForge,Newtree,QFCC,Forge", $pkg);