]> git.mxchange.org Git - friendica.git/commitdiff
Fixed wrong parameter
authorMichael <heluecht@pirati.ca>
Sat, 17 Jul 2021 05:25:04 +0000 (05:25 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 17 Jul 2021 05:25:04 +0000 (05:25 +0000)
src/Model/Contact.php

index 6cda3e72ada05fc3ce4b0e51771f27337bc4d45d..fe6fe55f3288a3252887a320626a094f7a6693a4 100644 (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);