]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Item.php
Merge pull request #8957 from annando/server-peers
[friendica.git] / src / Content / Item.php
index d93b0c1b6d4b4a917de6f2611c2d78be48c1592c..c0b1d3b49a37d3baf1aaffd69245aec129965836 100644 (file)
@@ -150,7 +150,7 @@ class Item
 
                        // Try to detect the contact in various ways
                        if (strpos($name, 'http://') || strpos($name, '@')) {
-                               $contact = Contact::getByURLForUser($name, $profile_uid, []);
+                               $contact = Contact::getByURLForUser($name, $profile_uid);
                        } else {
                                $contact = false;
                                $fields = ['id', 'url', 'nick', 'name', 'alias', 'network', 'forum', 'prv'];