mirror of
https://github.com/friendica/friendica
synced 2025-01-24 20:59:47 +00:00
Fix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on line 556"
This commit is contained in:
parent
990c70807d
commit
5545bafdee
1 changed files with 4 additions and 0 deletions
|
@ -514,6 +514,10 @@ class Processor
|
||||||
*/
|
*/
|
||||||
public static function postItem(array $activity, array $item)
|
public static function postItem(array $activity, array $item)
|
||||||
{
|
{
|
||||||
|
if (empty($item)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$stored = false;
|
$stored = false;
|
||||||
|
|
||||||
foreach ($activity['receiver'] as $receiver) {
|
foreach ($activity['receiver'] as $receiver) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue