summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/PhabBugz/lib/Feed.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/PhabBugz/lib/Feed.pm b/extensions/PhabBugz/lib/Feed.pm
index 72829f179..41a330787 100644
--- a/extensions/PhabBugz/lib/Feed.pm
+++ b/extensions/PhabBugz/lib/Feed.pm
@@ -477,7 +477,7 @@ sub process_revision_change {
phids => \@accepted_phids
}
);
- @accepted_user_ids = map { $_->bugzilla_user->id } @$phab_users;
+ @accepted_user_ids = map { $_->bugzilla_user->id } grep { defined $_->bugzilla_user } @$phab_users;
}
if ( @denied_phids ) {
@@ -486,7 +486,7 @@ sub process_revision_change {
phids => \@denied_phids
}
);
- @denied_user_ids = map { $_->bugzilla_user->id } @$phab_users;
+ @denied_user_ids = map { $_->bugzilla_user->id } grep { defined $_->bugzilla_user } @$phab_users;
}
my %reviewers_hash = map { $_->name => 1 } @{ $revision->reviewers };