1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Minor fix to minor fix to diff order

Summary: We need to preserve keys here; the keys are the diff IDs and are meaningful.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-18 11:56:48 -07:00
parent 7d26252a3f
commit cd4cb12116

View file

@ -33,7 +33,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
->setViewer($request->getUser())
->withRevisionIDs(array($this->revisionID))
->execute();
$diffs = array_reverse($diffs);
$diffs = array_reverse($diffs, $preserve_keys = true);
if (!$diffs) {
throw new Exception(