From 95285aee50349d95832182a5ad34230d48c68fd2 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 11 Mar 2014 17:13:00 -0700 Subject: [PATCH] When creating a new revision, include the summary in the initial email Summary: This got dropped in the ApplicationTransactions stuff. Test Plan: Created a new revision. Reviewers: btrahan Reviewed By: btrahan Subscribers: aran, epriestley Differential Revision: https://secure.phabricator.com/D8495 --- .../differential/editor/DifferentialTransactionEditor.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php index eda8b04e74..d070f1a80c 100644 --- a/src/applications/differential/editor/DifferentialTransactionEditor.php +++ b/src/applications/differential/editor/DifferentialTransactionEditor.php @@ -999,6 +999,12 @@ final class DifferentialTransactionEditor $body = parent::buildMailBody($object, $xactions); + if ($this->getIsNewObject()) { + $body->addTextSection( + pht('REVISION SUMMARY'), + $object->getSummary()); + } + $type_inline = DifferentialTransaction::TYPE_INLINE; $inlines = array();