diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 4fa8a4e9f9..ba18ec8720 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -196,8 +196,12 @@ class Processor $item['attach'] = ''; } - $item['attach'] .= Post\Media::getAttachElement($attach['url'], - $attach['length'] ?? 0, $attach['mediaType'], $attach['name'] ?? ''); + $item['attach'] .= Post\Media::getAttachElement( + $attach['url'], + $attach['length'] ?? 0, + $attach['mediaType'] ?? '', + $attach['name'] ?? '' + ); } } }