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
This commit is contained in:
justdave%bugzilla.org 2004-05-26 07:21:43 +00:00
Родитель 83821e05a0
Коммит fb0cdf4278
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

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