Bug 227172: Deal with race condition between a user being removed from the CC on a bug and changing their email address before the bugmail is sent.
r=jouni, a=justdave git-svn-id: svn://10.0.0.236/trunk@156951 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -705,6 +705,9 @@ sub NewProcessOnePerson ($$$$$$$$$$$$$) {
|
||||
# This routine should really get passed a userid
|
||||
# This rederives groups as a side effect
|
||||
my $user = Bugzilla::User->new_from_login($person);
|
||||
if (!$user) { # person doesn't exist, probably changed email
|
||||
return;
|
||||
}
|
||||
my $userid = $user->id;
|
||||
|
||||
$seen{$person} = 1;
|
||||
|
||||
Reference in New Issue
Block a user