Fixed wrong parameter
This commit is contained in:
parent
89f7ee2cc5
commit
596bb9fa7c
1 changed files with 1 additions and 1 deletions
|
@ -1808,7 +1808,7 @@ class Contact
|
||||||
|
|
||||||
// User contacts use are updated through the public contacts
|
// User contacts use are updated through the public contacts
|
||||||
if (($uid != 0) && !in_array($contact['network'], [Protocol::FEED, Protocol::MAIL])) {
|
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)) {
|
if (!empty($pcid)) {
|
||||||
Logger::debug('Update the private contact via the public contact', ['id' => $cid, 'uid' => $uid, 'public' => $pcid]);
|
Logger::debug('Update the private contact via the public contact', ['id' => $cid, 'uid' => $uid, 'public' => $pcid]);
|
||||||
self::updateAvatar($pcid, $avatar, $force, true);
|
self::updateAvatar($pcid, $avatar, $force, true);
|
||||||
|
|
Loading…
Reference in a new issue