Avoid warnings
This commit is contained in:
parent
60b0759b50
commit
dd38b7e329
2 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ class APContact extends BaseObject
|
||||||
|
|
||||||
$apcontact = [];
|
$apcontact = [];
|
||||||
$apcontact['url'] = $data['id'];
|
$apcontact['url'] = $data['id'];
|
||||||
$apcontact['uuid'] = defaults($data, 'uuid', null);
|
$apcontact['uuid'] = defaults($data, 'diaspora:guid', null);
|
||||||
$apcontact['type'] = defaults($data, 'type', null);
|
$apcontact['type'] = defaults($data, 'type', null);
|
||||||
$apcontact['following'] = defaults($data, 'following', null);
|
$apcontact['following'] = defaults($data, 'following', null);
|
||||||
$apcontact['followers'] = defaults($data, 'followers', null);
|
$apcontact['followers'] = defaults($data, 'followers', null);
|
||||||
|
|
|
@ -739,7 +739,7 @@ class ActivityPub
|
||||||
$profile = ['network' => Protocol::ACTIVITYPUB];
|
$profile = ['network' => Protocol::ACTIVITYPUB];
|
||||||
$profile['nick'] = $apcontact['nick'];
|
$profile['nick'] = $apcontact['nick'];
|
||||||
$profile['name'] = $apcontact['name'];
|
$profile['name'] = $apcontact['name'];
|
||||||
$profile['guid'] = $apcontact['diaspora:guid'];
|
$profile['guid'] = $apcontact['uuid'];
|
||||||
$profile['url'] = $apcontact['url'];
|
$profile['url'] = $apcontact['url'];
|
||||||
$profile['addr'] = $apcontact['addr'];
|
$profile['addr'] = $apcontact['addr'];
|
||||||
$profile['alias'] = $apcontact['alias'];
|
$profile['alias'] = $apcontact['alias'];
|
||||||
|
|
Loading…
Reference in a new issue