1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fixed for /differential/diff

Summary:
It was broken

Test Plan:
Sandbox

Reviewed By: grglr
Reviewers: grglr, epriestley
CC: aran, grglr
Differential Revision: 280
This commit is contained in:
tuomaspelkonen 2011-05-13 12:27:12 -07:00
parent 43405c354d
commit 70807fb4e2

View file

@ -107,8 +107,14 @@ class DifferentialDiffViewController extends DifferentialController {
$table_of_contents = id(new DifferentialDiffTableOfContentsView())
->setChangesets($changesets);
$refs = array();
foreach ($changesets as $changeset) {
$refs[$changeset->getID()] = $changeset->getID();
}
$details = id(new DifferentialChangesetListView())
->setChangesets($changesets);
->setChangesets($changesets)
->setRenderingReferences($refs);
return $this->buildStandardPageResponse(
'<div class="differential-primary-pane">'.