mirror of
https://github.com/friendica/friendica
synced 2024-12-23 11:20:15 +00:00
Fix Undefined index: photo in ActivityPub/Receiver
This commit is contained in:
parent
cb854b8b10
commit
341b83d1df
1 changed files with 4 additions and 4 deletions
|
@ -461,7 +461,7 @@ class Receiver
|
|||
|
||||
logger('Switch contact ' . $cid . ' (' . $profile['url'] . ') for user ' . $uid . ' to ActivityPub');
|
||||
|
||||
$photo = $profile['photo'];
|
||||
$photo = defaults($profile, 'photo', null);
|
||||
unset($profile['photo']);
|
||||
unset($profile['baseurl']);
|
||||
|
||||
|
@ -478,7 +478,7 @@ class Receiver
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
* @param $receivers
|
||||
* @param $actor
|
||||
|
@ -503,12 +503,12 @@ class Receiver
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
* @param $object_data
|
||||
* @param array $activity
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
private static function addActivityFields($object_data, $activity)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue