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
1 changed files with 1 additions and 1 deletions

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;
}