1
0
Fork 0
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:
epriestley 2013-03-22 12:25:00 -07:00
parent 022ac73d60
commit 4ffc2a1d00

View file

@ -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;
}