зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
83821e05a0
Коммит
fb0cdf4278
|
@ -705,6 +705,9 @@ sub NewProcessOnePerson ($$$$$$$$$$$$$) {
|
||||||
# This routine should really get passed a userid
|
# This routine should really get passed a userid
|
||||||
# This rederives groups as a side effect
|
# This rederives groups as a side effect
|
||||||
my $user = Bugzilla::User->new_from_login($person);
|
my $user = Bugzilla::User->new_from_login($person);
|
||||||
|
if (!$user) { # person doesn't exist, probably changed email
|
||||||
|
return;
|
||||||
|
}
|
||||||
my $userid = $user->id;
|
my $userid = $user->id;
|
||||||
|
|
||||||
$seen{$person} = 1;
|
$seen{$person} = 1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче