mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:50:11 +00:00
Fix several notices
This commit is contained in:
parent
3842f02b02
commit
62367923e0
3 changed files with 12 additions and 6 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue