mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +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())
|
->setViewer($request->getUser())
|
||||||
->withRevisionIDs(array($this->revisionID))
|
->withRevisionIDs(array($this->revisionID))
|
||||||
->execute();
|
->execute();
|
||||||
$diffs = array_reverse($diffs);
|
$diffs = array_reverse($diffs, $preserve_keys = true);
|
||||||
|
|
||||||
if (!$diffs) {
|
if (!$diffs) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
|
|
Loading…
Reference in a new issue