summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/BugMail.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 5975c859a..40a40dc2b 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -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;