mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-17 10:11:10 +01:00
Minor, fix an order issue in the token leaderboard.
Auditors: chad
This commit is contained in:
parent
022ac73d60
commit
4ffc2a1d00
1 changed files with 5 additions and 0 deletions
|
@ -22,9 +22,14 @@ final class PhabricatorTokenReceiverQuery
|
|||
if (!$phids) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$objects = id(new PhabricatorObjectHandleData($phids))
|
||||
->setViewer($this->getViewer())
|
||||
->loadObjects();
|
||||
|
||||
// Reorder the objects in the input order.
|
||||
$objects = array_select_keys($objects, $phids);
|
||||
|
||||
return $objects;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue