cvs: phpweb / bugs.php
| From: | Jani Taskinen | Date: | Thu, 12 Jul 2001 06:46:50 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5473@lists.php.net to get a copy of this message | ||
sniper Thu Jul 12 02:46:50 2001 EDT
Modified files:
/phpweb bugs.php
Log:
Send the correct urls to bug submitter and the other to the mailing list.
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.159 phpweb/bugs.php:1.160
--- phpweb/bugs.php:1.159 Thu Jul 12 02:36:23 2001
+++ phpweb/bugs.php Thu Jul 12 02:46:49 2001
@@ -309,15 +309,17 @@
$text.= get_old_comments($id);
- $text.= "\n\nATTENTION! Do NOT reply to this email!\n";
- $text.= "To reply, use the web interface found at http://bugs.php.net/?id=$id&edit=1\n";
+ $user_text = $text . "\n\nATTENTION! Do NOT reply to this email!\n";
+ $user_text.= "To reply, use the web interface found at http://bugs.php.net/?id=$id&edit=2\n";
+
+ $dev_text .= $text . "\n\nEdit this bug report at http://bugs.php.net/?id=$id&edit=1\n";
list($mailto,$mailfrom) = get_bugtype_mail($bug_type);
/* send mail if status was changed or there is a comment */
if ($status != $original[status] || $ncomment != "") {
- @mail($original[email], "Bug #$id Updated: ".stripslashes($sdesc), $text, "From:
Bug Database <$mailfrom>\nX-PHP-Bug: $id\nIn-Reply-To: <bug-$id@bugs.php.net>");
- @mail($mailto, "Bug #$id Updated: ".stripslashes($sdesc), $text, "From:
$from\nX-PHP-Bug: $id\nIn-Reply-To: <bug-$id@bugs.php.net>");
+ @mail($original[email], "Bug #$id Updated: ".stripslashes($sdesc), $user_text,
"From: Bug Database <$mailfrom>\nX-PHP-Bug: $id\nIn-Reply-To:
<bug-$id@bugs.php.net>");
+ @mail($mailto, "Bug #$id Updated: ".stripslashes($sdesc), $dev_text, "From:
$from\nX-PHP-Bug: $id\nIn-Reply-To: <bug-$id@bugs.php.net>");
}
# display a happy success message