Fix Undefined index: photo in ActivityPub/Receiver

pull/5941/head
Hypolite Petovan 2018-10-16 18:29:28 -04:00
rodzic cb854b8b10
commit 341b83d1df
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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']);