Page MenuHomePhabricator

D21175.diff
No OneTemporary

D21175.diff

diff --git a/src/applications/diffusion/controller/DiffusionCommitController.php b/src/applications/diffusion/controller/DiffusionCommitController.php
--- a/src/applications/diffusion/controller/DiffusionCommitController.php
+++ b/src/applications/diffusion/controller/DiffusionCommitController.php
@@ -459,9 +459,12 @@
$filetree = id(new DifferentialFileTreeEngine())
->setViewer($viewer)
- ->setChangesets($changesets)
->setDisabled(!$show_changesets);
+ if ($show_changesets) {
+ $filetree->setChangesets($changesets);
+ }
+
$description_box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Description'))
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 29, 8:08 PM (6 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7342175
Default Alt Text
D21175.diff (720 B)

Event Timeline