mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Fixed the table of contents standalone view link.
Summary: Exception was thrown because there is no getRenderingReference function for changeset. Test Plan: Sandbox loaded and links were working. Reviewed By: grglr Reviewers: grglr, epriestley CC: aran, grglr Differential Revision: 281
This commit is contained in:
parent
70807fb4e2
commit
ea47f33632
1 changed files with 3 additions and 3 deletions
|
@ -94,12 +94,12 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
|||
} else {
|
||||
$vs_id = null;
|
||||
}
|
||||
$ref = $changeset->getRenderingReference();
|
||||
|
||||
$ref = $vs_id ? $id.'/'.$vs_id : $id;
|
||||
$detail_uri = new PhutilURI($this->renderURI);
|
||||
$detail_uri->setQueryParams(
|
||||
array(
|
||||
'id' => $ref,
|
||||
'vs' => $vs_id,
|
||||
'ref' => $ref,
|
||||
'whitespace' => $this->whitespace,
|
||||
'revision_id' => $this->revisionID,
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue