Page MenuHomePhorge

D25517.1740053553.diff
No OneTemporary

D25517.1740053553.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
@@ -1303,9 +1303,11 @@
// TODO: Once everything is on EditEngine, just use getIsNewObject() to
// figure this out instead.
$mark_as_create = false;
- $create_type = PhabricatorTransactions::TYPE_CREATE;
+ $core_create_type = PhabricatorTransactions::TYPE_CREATE;
+ $differential_create_type = DifferentialDiffTransaction::TYPE_DIFF_CREATE;
foreach ($xactions as $xaction) {
- if ($xaction->getTransactionType() == $create_type) {
+ if ($xaction->getTransactionType() == $core_create_type ||
+ $xaction->getTransactionType() == $differential_create_type) {
$mark_as_create = true;
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 20, 12:12 (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1149579
Default Alt Text
D25517.1740053553.diff (1 KB)

Event Timeline