Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18787740
D20482.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
600 B
Referenced Files
None
Subscribers
None
D20482.id.diff
View Options
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
@@ -977,7 +977,7 @@
PhabricatorLiskDAO $object,
array $xactions) {
- $is_new = ($object->getPHID() === null);
+ $is_new = ($object->getID() === null);
$this->isNewObject = $is_new;
$is_preview = $this->getIsPreview();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 16 2025, 1:15 AM (12 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8499185
Default Alt Text
D20482.id.diff (600 B)
Attached To
Mode
D20482: In ApplicationTransactionEditor, determine new objects with "getID()" instead of "getPHID()"
Attached
Detach File
Event Timeline
Log In to Comment