mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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:
parent
7d26252a3f
commit
cd4cb12116
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue