From: Michael Date: Sat, 17 Jul 2021 05:25:04 +0000 (+0000) Subject: Fixed wrong parameter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=596bb9fa7c0673fdc1919fac78c35ff63c2fcc2e;p=friendica.git Fixed wrong parameter --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 6cda3e72ad..fe6fe55f32 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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);