Hopefully fixes notice "Undefined index: gravity"
This commit is contained in:
parent
84c56c481a
commit
8707ced2f7
|
@ -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