From f7e14500969cd95429409e6b93552558a118dc56 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 22 Jul 2013 14:42:31 -0700 Subject: [PATCH] Fix "setName()" on Differental revision handles Summary: I copied this over wrong. Ref T2715 Test Plan: Looked at Maniphest with linked commits/revisions, e.g. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2715 Differential Revision: https://secure.phabricator.com/D6531 --- .../differential/phid/DifferentialPHIDTypeRevision.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php index c9a78dd84d..3a2ff3647d 100644 --- a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php +++ b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php @@ -43,7 +43,7 @@ final class DifferentialPHIDTypeRevision extends PhabricatorPHIDType { $id = $revision->getID(); $status = $revision->getStatus(); - $handle->setName($title); + $handle->setName("D{$id}"); $handle->setURI("/D{$id}"); $handle->setFullName("D{$id}: {$title}");