Fix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on line 556"

This commit is contained in:
Michael 2020-07-21 19:55:24 +00:00
parent 990c70807d
commit 5545bafdee

View File

@ -514,6 +514,10 @@ class Processor
*/
public static function postItem(array $activity, array $item)
{
if (empty($item)) {
return;
}
$stored = false;
foreach ($activity['receiver'] as $receiver) {