cvs: phpweb / bugs.php
| From: | Jim Winstead | Date: | Fri, 18 May 2001 03:54:50 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5019@lists.php.net to get a copy of this message | ||
jimw Thu May 17 20:54:50 2001 EDT
Modified files:
/phpweb bugs.php
Log:
add an x- header with the bug id
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.102 phpweb/bugs.php:1.103
--- phpweb/bugs.php:1.102 Mon May 7 01:33:12 2001
+++ phpweb/bugs.php Thu May 17 20:54:50 2001
@@ -410,7 +410,7 @@
echo wrap($html_report);
echo("</pre>\n");
- if (Mail($destination, "Bug #$cid: $sdesc", $ascii_report, "From: $email"))
{
+ if (Mail($destination, "Bug #$cid: $sdesc", $ascii_report, "From:
$email\nX-PHP-Bug: $cid")) {
echo "<p><h2>Mail sent to $destination...</h2>\n";
echo "Thank you for your help!<P>";
echo "<i>The password for this report is</i>:
<b>".htmlentities($passwd)."</b><br>";
@@ -639,7 +639,7 @@
/* mail bug originator if status was changed or comment is not empty. */
if($estatus != $row[0] || $ncomment != "") {
Mail($eemail, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
- Mail($destination, "Bug #$id Updated: $esdesc", $text, "From:
$user@php.net");
+ Mail($destination, "Bug #$id Updated: $esdesc", $text, "From:
$user@php.net\nX-PHP-Bug: $id");
}
}
mysql_freeresult($result);
@@ -683,7 +683,7 @@
$text = stripslashes($text);
$esdesc = stripslashes($esdesc);
Mail($eemail, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
- Mail($destination, "Bug #$id Updated: $esdesc", $text, "From: $eemail");
+ Mail($destination, "Bug #$id Updated: $esdesc", $text, "From:
$eemail\nX-PHP-Bug: $id");
mysql_freeresult($result);
}
}