|
From: Ken T. <ke...@us...> - 2003-05-18 23:40:25
|
Update of /cvsroot/phpbt/phpbt
In directory sc8-pr-cvs1:/tmp/cvs-serv27108
Modified Files:
bug.php
Log Message:
email the person who made the changes. we can make this *not* done by request.
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- bug.php 12 May 2003 22:26:26 -0000 1.128
+++ bug.php 18 May 2003 23:40:22 -0000 1.129
@@ -246,6 +246,7 @@
$reporter = $db->getOne('select email from '.TBL_AUTH_USER.
" u, ".TBL_USER_PREF." p where u.user_id = {$buginfo['created_by']} ".
"and u.user_id = p.user_id and email_notices = 1");
+
$reporterstat = ' ';
// If there are new comments grab the comments immediately before the latest
@@ -290,13 +291,9 @@
$maillist = array();
- // Don't email the person who just made the changes (later, make this
- // behavior toggable by the user)
- if ($userid != $buginfo['created_by'] and !empty($reporter)) {
- $maillist[] = $reporter;
- }
- if ($userid != (!empty($cf['assigned_to']) ? $cf['assigned_to'] : $buginfo['assigned_to'])
- and !empty($assignedto) and $emailassignedto) {
+ $maillist[] = $reporter;
+
+ if (!empty($assignedto) and $emailassignedto) {
$maillist[] = $assignedto;
}
|