Images::getInfoFromURL[Cached]() will both return empty arrays ... #1264

Merged
Quix0r merged 6 commits from fixes/empty-array-get-info-from-url into develop 2022-06-22 19:32:31 +02:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 04466968dc - Show all commits

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