Let's avoid local variables

pull/1329/head
Roland Häder 2022-06-20 21:31:55 +02:00 committed by Michael
parent 1f60d4e9c5
commit 62565cc472
1 changed files with 1 additions and 4 deletions

View File

@ -450,10 +450,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'];
$attachments = Post\Media::splitAttachments($item_row['uri-id'], $item_row['guid'] ?? '');
$item_row['attachments'] = $attachments;
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id'], $item_row['guid'] ?? '');
return $item_row;
}