]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Merge pull request #9711 from MrPetovan/bug/fatal-errors
[friendica.git] / mod / match.php
index 6a2e350bcc2a07f5615f464aa0dc0a8f991bf6ab..cd1c66c89191bc0c05586e265cd5c9118047b13d 100644 (file)
@@ -88,13 +88,13 @@ function match_content(App $a)
                        $profile = $msearch->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::getByURLForUser($profile->url, local_user());
                        if (!empty($contact)) {
-                               $entries[] = ModuleContact::getContactTemplateVars($contact, $i);
+                               $entries[] = ModuleContact::getContactTemplateVars($contact);
                        }
                }