diff --git a/src/Model/Contact/User.php b/src/Model/Contact/User.php index 7542130d91..3fe626a6dc 100644 --- a/src/Model/Contact/User.php +++ b/src/Model/Contact/User.php @@ -62,7 +62,7 @@ class User $pcontact = Contact::selectFirst(['id'], ['uri-id' => $contact['uri-id'], 'uid' => 0]); if (!empty($contact['uri-id']) && DBA::isResult($pcontact)) { $pcid = $pcontact['id']; - } elseif (empty($contact['url']) || !($pcid = Contact::getIdForURL($contact['url']))) { + } elseif (empty($contact['url']) || !($pcid = Contact::getIdForURL($contact['url'], 0, false))) { Logger::info('Public contact for user not found', ['uri-id' => $contact['uri-id'], 'uid' => $contact['uid']]); return false; }