From 4cd333b33fb1495c2b5a0b2ea4123110d1533249 Mon Sep 17 00:00:00 2001 From: Arturas Moskvinas Date: Mon, 9 Dec 2019 13:02:14 +0200 Subject: [PATCH] Use same method to get object URI as used in DifferentialTransactionEditor and PhabricatorApplicationTransactionEditor Summary: Maniphest object has `getURI` method, let's use it Test Plan: Create event in task - URI generated as expected in email notification Reviewers: epriestley, Pawka, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D20935 --- .../maniphest/editor/ManiphestTransactionEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/maniphest/editor/ManiphestTransactionEditor.php b/src/applications/maniphest/editor/ManiphestTransactionEditor.php index ed98ad8ad8..01fc0af83d 100644 --- a/src/applications/maniphest/editor/ManiphestTransactionEditor.php +++ b/src/applications/maniphest/editor/ManiphestTransactionEditor.php @@ -226,7 +226,7 @@ final class ManiphestTransactionEditor $body->addLinkSection( pht('TASK DETAIL'), - PhabricatorEnv::getProductionURI('/T'.$object->getID())); + $this->getObjectLinkButtonURIForMail($object)); $board_phids = array();