summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-05 06:09:17 +0200
committerlpsolit%gmail.com <>2005-04-05 06:09:17 +0200
commit9642abb3e0215cc795478c3713ab1ef1eadcb770 (patch)
treef30ec091db85b1a83794ad4be35eb53aa647ac18 /Bugzilla/BugMail.pm
parent6f0e3792941892e2987294fb0866e69630675002 (diff)
downloadbugzilla-9642abb3e0215cc795478c3713ab1ef1eadcb770.tar.gz
bugzilla-9642abb3e0215cc795478c3713ab1ef1eadcb770.tar.xz
Bug 288985: cannot remove users from the CC list - Patch by Frederic Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index fef959087..faa30b090 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -363,7 +363,9 @@ sub ProcessOneBug($$) {
# You can't stop being the reporter, and mail isn't sent if you
# remove your vote.
if ($what eq "CC") {
- push(@{$recipients{DBNameToIdAndCheck($old)}}, REL_CC);
+ foreach my $cc_user (split(/[\s,]+/, $old)) {
+ push(@{$recipients{DBNameToIdAndCheck($cc_user)}}, REL_CC);
+ }
}
elsif ($what eq "QAContact") {
push(@{$recipients{DBNameToIdAndCheck($old)}}, REL_QA);