diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 4fa8a4e9f..ba18ec872 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'] ?? '' + ); } } }