Page MenuHomePhabricator

D21834.diff
No OneTemporary

D21834.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
@@ -2249,7 +2249,7 @@
foreach ($remarkup_changes as $remarkup_change) {
$metadata = $remarkup_change->getMetadata();
- $attached_phids = idx($metadata, 'attachedFilePHIDs');
+ $attached_phids = idx($metadata, 'attachedFilePHIDs', array());
foreach ($attached_phids as $file_phid) {
$new_map[$file_phid] = PhabricatorFileAttachment::MODE_ATTACH;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 4:56 AM (11 h, 28 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6784986
Default Alt Text
D21834.diff (746 B)

Event Timeline