Fix Undefined index: photo in ActivityPub/Receiver
This commit is contained in:
parent
cb854b8b10
commit
341b83d1df
|
@ -461,7 +461,7 @@ class Receiver
|
||||||
|
|
||||||
logger('Switch contact ' . $cid . ' (' . $profile['url'] . ') for user ' . $uid . ' to ActivityPub');
|
logger('Switch contact ' . $cid . ' (' . $profile['url'] . ') for user ' . $uid . ' to ActivityPub');
|
||||||
|
|
||||||
$photo = $profile['photo'];
|
$photo = defaults($profile, 'photo', null);
|
||||||
unset($profile['photo']);
|
unset($profile['photo']);
|
||||||
unset($profile['baseurl']);
|
unset($profile['baseurl']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user