Commit 6ccf771c authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 394796: "I'm added to or removed from this capacity" for "CCed" doesn't work…

Bug 394796: "I'm added to or removed from this capacity" for "CCed" doesn't work correctly if several users are added or removed at once from the CC list - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
parent 7c3069b2
......@@ -1413,8 +1413,8 @@ sub wants_bug_mail {
if ($fieldName eq "CC") {
my $login = $self->login;
my $inold = ($old =~ /^(.*,)?\Q$login\E(,.*)?$/);
my $innew = ($new =~ /^(.*,)?\Q$login\E(,.*)?$/);
my $inold = ($old =~ /^(.*,\s*)?\Q$login\E(,.*)?$/);
my $innew = ($new =~ /^(.*,\s*)?\Q$login\E(,.*)?$/);
if ($inold != $innew)
{
$events{+EVT_ADDED_REMOVED} = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment