Fix several notices

This commit is contained in:
Michael 2022-04-11 18:57:30 +00:00
parent 3842f02b02
commit 62367923e0
3 changed files with 12 additions and 6 deletions

View file

@ -1002,6 +1002,8 @@ class Processor
$posts = Post\Collection::selectToArrayForContact($pcid, Post\Collection::FEATURED);
if (!empty($posts)) {
$old_featured = array_column($posts, 'uri-id');
} else {
$old_featured = [];
}
$featured = ActivityPub::fetchItems($apcontact['featured']);