From 3480b3e7ef00ff8a42f78f2be31bda8aab318353 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 9 Jul 2017 06:40:51 -0700 Subject: [PATCH] (stable) Fix comparison check for SVN in browsing Diffusion Summary: Fixes T12905. Missed setting this variable. Test Plan: Browse an SVN repository. Reviewers: epriestley Subscribers: Korvin Maniphest Tasks: T12905 Differential Revision: https://secure.phabricator.com/D18190 --- .../diffusion/controller/DiffusionBrowseController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php index 3fa9e62948..06c8336f5c 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseController.php @@ -1667,6 +1667,7 @@ final class DiffusionBrowseController extends DiffusionController { $repository = $drequest->getRepository(); $history_uri = $drequest->generateURI(array('action' => 'history')); $behind_head = $drequest->getSymbolicCommit(); + $compare = null; $head_uri = $drequest->generateURI( array( 'commit' => '', @@ -1771,11 +1772,11 @@ final class DiffusionBrowseController extends DiffusionController { } $header = id(new PHUIHeaderView()) - ->setHeader(pht('Recently Open Revisions')) - ->setHeaderIcon('fa-gear'); + ->setHeader(pht('Recently Open Revisions')); $view = id(new DifferentialRevisionListView()) ->setHeader($header) + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) ->setRevisions($revisions) ->setUser($viewer);