diff options
Diffstat (limited to 'extensions/Review/Extension.pm')
-rw-r--r-- | extensions/Review/Extension.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index c2951d29b..06f459613 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -66,7 +66,8 @@ sub _reviewers_objs { my %user_map = map { $_->id => $_ } @$users; my @reviewers = map { $user_map{$_} } @$user_ids; if (!$include_disabled) { - @reviewers = grep { $_->name !~ UNAVAILABLE_RE } @reviewers; + @reviewers = grep { $_->is_enabled + && $_->name !~ UNAVAILABLE_RE } @reviewers; } $object->{reviewers} = \@reviewers; } |