Fixed wrong parameter

pull/10508/head
Michael 2021-07-17 05:25:04 +00:00
rodzic 89f7ee2cc5
commit 596bb9fa7c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1808,7 +1808,7 @@ class Contact
// User contacts use are updated through the public contacts
if (($uid != 0) && !in_array($contact['network'], [Protocol::FEED, Protocol::MAIL])) {
$pcid = self::getIdForURL($contact['url'], false);
$pcid = self::getIdForURL($contact['url'], 0, false);
if (!empty($pcid)) {
Logger::debug('Update the private contact via the public contact', ['id' => $cid, 'uid' => $uid, 'public' => $pcid]);
self::updateAvatar($pcid, $avatar, $force, true);