Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14088612
D21834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
746 B
Referenced Files
None
Subscribers
None
D21834.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
@@ -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
Details
Attached
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)
Attached To
Mode
D21834: Provide missing default attachment list for Files transactions
Attached
Detach File
Event Timeline
Log In to Comment