cvs: pearweb /public_html/bugs/include functions.inc
| From: | Greg Beaver | Date: | Sun, 24 Dec 2006 18:36:40 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5309@lists.php.net to get a copy of this message | ||
cellog Sun Dec 24 18:36:40 2006 UTC
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
a REAL fix for #7947
bug emails sent to developers who opened a bug
should link to the developer interface (edit=1) and
they don't. bug report was unclear on this point.
also $bug[email] => $bug['email']
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.116&r2=1.117&diff_format=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.116
pearweb/public_html/bugs/include/functions.inc:1.117
--- pearweb/public_html/bugs/include/functions.inc:1.116 Sat Dec 23 03:51:03 2006
+++ pearweb/public_html/bugs/include/functions.inc Sun Dec 24 18:36:40 2006
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.116 2006/12/23 03:51:03 cellog Exp $
+ * @version $Id: functions.inc,v 1.117 2006/12/24 18:36:40 cellog Exp $
*/
@@ -791,6 +791,10 @@
"\n-- \nEdit this bug report at " .
"http://$site.php.net/bugs/bug.php?id=$bug[id]&edit=1\n";
+ if (preg_match('/.*@php\.net$/', $bug['email'])) {
+ $user_text = $dev_text;
+ }
+
/* send mail if status was changed or there is a comment */
if ($in[status] != $bug[status] || $ncomment != "") {
@@ -814,7 +818,7 @@
# the user gets sent mail with an envelope sender that ignores bounces
if (DEVBOX == false) {
- @mail($bug[email],
+ @mail($bug['email'],
"[$siteBig-BUG] " . rinse($subj) . txfield('sdesc'),
$user_text,
"From: $siteBig Bug Database <$mailfrom>\n".