Fix notices

This commit is contained in:
Michael
2020-12-17 18:08:07 +00:00
parent 38b17e1aae
commit 66c1592171
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -814,7 +814,7 @@ class Processor
}
$activity = [];
$activity['@context'] = $object['@context'];
$activity['@context'] = $object['@context'] ?? ActivityPub::CONTEXT;
unset($object['@context']);
$activity['id'] = $object['id'];
$activity['to'] = $object['to'] ?? [];