diff --git a/bugs/index.php b/bugs/index.php index e5b5da9..3e9dea6 100644 --- a/bugs/index.php +++ b/bugs/index.php @@ -38,7 +38,7 @@ function do_submit () echo ''; } -if ($pkg && $version && $severity && $os && $details && $subj) { +if ($fromaddr && $pkg && $version && $severity && $os && $details && $subj) { $mail = ""; switch ($pkg) { @@ -63,6 +63,7 @@ if ($pkg && $version && $severity && $os && $details && $subj) { $mail .= "Package: $pkg\n"; $mail .= 'Version: ' . StripSlashes ($version) . "\n"; $mail .= "Severity: $severity\n\n"; + $mail .= "Sender: $fromaddr\n"; $mail .= "Operating System: $os\n\n"; $mail .= "Detailed Description:\n"; $mail .= $details . "\n"; @@ -74,6 +75,7 @@ if ($pkg && $version && $severity && $os && $details && $subj) { echo '
Bug report sent!
'; } else { ?>Note: All fields must be filled in.