diff options
Diffstat (limited to 'extensions/Review')
-rw-r--r-- | extensions/Review/Extension.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index 4b7060817..61822d076 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -89,8 +89,11 @@ sub _bug_mentors { push(@{ $self->{bug_mentors} }, Bugzilla::User->new({ id => $mentor_id, cache => 1 })); } + $self->{bug_mentors} = [ + sort { $a->login cmp $b->login } @{ $self->{bug_mentors} } + ]; } - return [ sort { $a->login cmp $b->login } @{ $self->{bug_mentors} } ]; + return $self->{bug_mentors}; } sub _bug_is_mentor { |