X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmatch.php;h=29d4e086a6b226a4e0139974ba0d91acc7fcfb16;hb=7789ea25079801ee1425368e9bf2f7ce80d16d88;hp=75728b7043e9f28f49b4af769f15da31e7266da8;hpb=91b0f2c486840035d021d53fc5cdc1c5932283ca;p=friendica.git diff --git a/mod/match.php b/mod/match.php index 75728b7043..29d4e086a6 100644 --- a/mod/match.php +++ b/mod/match.php @@ -1,6 +1,6 @@ results[$i]; // Already known contact - if (!$profile || Contact::getIdForURL($profile->url, local_user(), false)) { + if (!$profile || Contact::getIdForURL($profile->url, local_user())) { continue; } - $contact = Contact::getByURL($profile->url); + $contact = Contact::getByURLForUser($profile->url, local_user()); if (!empty($contact)) { - $entries[] = Contact::getTemplateData($contact, $i); + $entries[] = ModuleContact::getContactTemplateVars($contact); } }