From b44f687ce20de6228787e75d48f09e3eb8b91486 Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 25 Apr 2012 10:27:56 -0700 Subject: [PATCH] Fix link to submodule's history Test Plan: https://secure.phabricator.com/diffusion/P/browse/master/externals/ Click on History of `javelin/`. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2316 --- .../diffusion/view/browsetable/DiffusionBrowseTableView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/diffusion/view/browsetable/DiffusionBrowseTableView.php b/src/applications/diffusion/view/browsetable/DiffusionBrowseTableView.php index 6fed73cec5..08bb4124f1 100644 --- a/src/applications/diffusion/view/browsetable/DiffusionBrowseTableView.php +++ b/src/applications/diffusion/view/browsetable/DiffusionBrowseTableView.php @@ -88,6 +88,7 @@ final class DiffusionBrowseTableView extends DiffusionView { $rows = array(); foreach ($this->paths as $path) { + $dir_slash = null; $file_type = $path->getFileType(); if ($file_type == DifferentialChangeType::FILE_DIRECTORY) { $browse_text = $path->getPath().'/'; @@ -118,9 +119,8 @@ final class DiffusionBrowseTableView extends DiffusionView { $type = 'file'; } $browse_text = $path->getPath(); - $dir_slash = null; $browse_link = $this->linkBrowse( - $base_path.$path->getPath().$dir_slash, + $base_path.$path->getPath(), array( 'html' => $this->renderPathIcon($type, $browse_text), ));