[advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments

This commit is contained in:
Benjamin Lorteau 2023-11-14 16:25:06 -05:00
parent 8d3d0f267b
commit 6a46d05bca

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['attachments'] = DI::postMediaRepository()->splitAttachments($item_row['uri-id']);
return $item_row;
}