summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-06-03 21:24:06 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-06-03 21:24:06 +0200
commit20bc492eae38c0374ec65568a9c72e9df1318ef1 (patch)
treeaadb0a381058e55288a02cb72db295d76379af25
parent6381dc7a14eda05a686a0a0adffcb3b2eb992464 (diff)
downloadbugzilla-20bc492eae38c0374ec65568a9c72e9df1318ef1.tar.gz
bugzilla-20bc492eae38c0374ec65568a9c72e9df1318ef1.tar.xz
Bug 1270720 - Do not add reporter email address to CC list when flagging "Need more information from reporter"
-rw-r--r--Bugzilla/Flag.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index c6c979fa7..8ce26aaa8 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -397,7 +397,8 @@ sub set_flag {
if ($obj_flag
&& $requestee_changed
&& $obj_flag->requestee_id
- && $obj_flag->requestee->setting('requestee_cc') eq 'on')
+ && $obj_flag->requestee->setting('requestee_cc') eq 'on'
+ && $bug->reporter->id != $obj_flag->requestee->id)
{
$bug->add_cc($obj_flag->requestee);
}