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:
justdave%bugzilla.org
2004-05-26 07:21:43 +00:00
parent 162f54a027
commit c480e3ca9f

View File

@@ -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;