From b53d61c909151c8b5c848794bb3e75a18e20e547 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 23 Jan 2016 17:02:30 -0800 Subject: [PATCH] Fix bad call to getShortName() Summary: Fixes T10212. This method was removed in D14990, but I missed a callsite. Test Plan: Disabling blame now works nicely. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10212 Differential Revision: https://secure.phabricator.com/D15100 --- .../diffusion/controller/DiffusionBrowseController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php index 0f0a583af8..7f55f94d71 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseController.php @@ -1826,7 +1826,7 @@ final class DiffusionBrowseController extends DiffusionController { $names = array(); foreach ($blame_commits as $identifier => $commit) { $author = $commit->renderAuthorShortName($handles); - $name = $commit->getShortName(); + $name = $commit->getLocalName(); $authors[$identifier] = $author; $names[$identifier] = $name;