зеркало из https://github.com/mozilla/gecko-dev.git
Bug 320529: BugMail.pm crashes when checking email prefs of a deleted user - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=wicked a=justdave
This commit is contained in:
Родитель
d2000fb2ba
Коммит
d37e4f768f
|
@ -414,7 +414,9 @@ sub ProcessOneBug {
|
|||
my $sent_mail = 0;
|
||||
|
||||
my $user = new Bugzilla::User($user_id);
|
||||
|
||||
# Deleted users must be excluded.
|
||||
next unless $user;
|
||||
|
||||
if ($user->can_see_bug($id))
|
||||
{
|
||||
# Go through each role the user has and see if they want mail in
|
||||
|
|
Загрузка…
Ссылка в новой задаче