mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Warning and notice fixed
This commit is contained in:
parent
16f58c8982
commit
fd6c64f9c1
2 changed files with 8 additions and 1 deletions
|
@ -329,6 +329,11 @@ class Processor
|
|||
return;
|
||||
}
|
||||
|
||||
if (empty($object['id'])) {
|
||||
Logger::log('Activity ' . $url . ' has got not id, aborting. ' . json_encode($object));
|
||||
return;
|
||||
}
|
||||
|
||||
$activity = [];
|
||||
$activity['@context'] = $object['@context'];
|
||||
unset($object['@context']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue