Merge pull request #1311 from annando/duplicate-media

Unneeded parameter removed
This commit is contained in:
Hypolite Petovan 2022-11-13 19:07:34 -05:00 committed by GitHub
commit f840431d41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -455,7 +455,7 @@ function advancedcontentfilter_prepare_item_row(array $item_row): array
$item_row['tags'] = $tags['tags'];
$item_row['hashtags'] = $tags['hashtags'];
$item_row['mentions'] = $tags['mentions'];
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id'], $item_row['guid'] ?? '');
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id']);
return $item_row;
}