Page MenuHomePhorge

D25517.1737911642.diff
No OneTemporary

D25517.1737911642.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
Sun, Jan 26, 17:14 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1149579
Default Alt Text
D25517.1737911642.diff (1 KB)

Event Timeline