Page MenuHomePhabricator

D20563.diff
No OneTemporary

D20563.diff

diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -3084,6 +3084,11 @@
->withObjectPHIDs(array($object->getPHID()))
->withPHIDs($xaction_phids)
->execute();
+
+ // Sort the mail transactions in the input order.
+ $mail_xactions = mpull($mail_xactions, null, 'getPHID');
+ $mail_xactions = array_select_keys($mail_xactions, $xaction_phids);
+ $mail_xactions = array_values($mail_xactions);
} else {
$mail_xactions = array();
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 31, 12:24 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8480597
Default Alt Text
D20563.diff (834 B)

Event Timeline