1
0
Fork 0

Fixed wrong parameter

This commit is contained in:
Michael 2021-07-17 05:25:04 +00:00
parent 89f7ee2cc5
commit 596bb9fa7c

View file

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