diff options
author | lpsolit%gmail.com <> | 2007-09-24 05:12:06 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-09-24 05:12:06 +0200 |
commit | 6ccf771c7533b4bd83d8d43f706256b8613965d4 (patch) | |
tree | b4fa39f61de3d209e35beb20c419be2553691f82 /Bugzilla | |
parent | 7c3069b273534b46fbc9b7745b0d48e68b6bf832 (diff) | |
download | bugzilla-6ccf771c7533b4bd83d8d43f706256b8613965d4.tar.gz bugzilla-6ccf771c7533b4bd83d8d43f706256b8613965d4.tar.xz |
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édéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 8ccd15a63..f9448ff57 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -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; |