mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
Hopefully fixes notice "Undefined index: gravity"
This commit is contained in:
parent
84c56c481a
commit
8707ced2f7
1 changed files with 2 additions and 0 deletions
|
@ -843,6 +843,7 @@ class Contact
|
|||
// create an unfollow slap
|
||||
$item = [];
|
||||
$item['verb'] = Activity::O_UNFOLLOW;
|
||||
$item['gravity'] = GRAVITY_ACTIVITY;
|
||||
$item['follow'] = $contact["url"];
|
||||
$item['body'] = '';
|
||||
$item['title'] = '';
|
||||
|
@ -2470,6 +2471,7 @@ class Contact
|
|||
// create a follow slap
|
||||
$item = [];
|
||||
$item['verb'] = Activity::FOLLOW;
|
||||
$item['gravity'] = GRAVITY_ACTIVITY;
|
||||
$item['follow'] = $contact["url"];
|
||||
$item['body'] = '';
|
||||
$item['title'] = '';
|
||||
|
|
Loading…
Reference in a new issue