From 4c1463eb569aac1ea825d0e3edfda2331b1f6335 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 20 Oct 2015 09:03:47 -0700 Subject: [PATCH] Probably fix bad URI construction for Diffusion symbols Summary: Ref T9532. Test Plan: I don't have this configured locally but this seems very likely to be the correct fix. This list should be a list of PHIDs, but is a list of PHIDs followed by one PhabricatorRepository object. Reviewers: avivey, chad Reviewed By: chad Maniphest Tasks: T9532 Differential Revision: https://secure.phabricator.com/D14311 --- .../diffusion/controller/DiffusionBrowseFileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/DiffusionBrowseFileController.php b/src/applications/diffusion/controller/DiffusionBrowseFileController.php index fbd2785725..eb935208e5 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseFileController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseFileController.php @@ -288,7 +288,7 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController { $repo = $drequest->getRepository(); $symbol_repos = nonempty($repo->getSymbolSources(), array()); - $symbol_repos[] = $repo; + $symbol_repos[] = $repo->getPHID(); $lang = last(explode('.', $drequest->getPath())); $repo_languages = $repo->getSymbolLanguages();