]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Changed parameter order for getByURL
[friendica.git] / mod / follow.php
index 97bf9fcf9a50f89752e5b35d6e1c33e4c33449dc..141fa9fdba2c392ab6748c7d5c2b41cc4399f6ab 100644 (file)
@@ -107,7 +107,7 @@ function follow_content(App $a)
                }
        }
 
-       $contact = Contact::getByURL($url, 0, [], true);
+       $contact = Contact::getByURL($url, true);
        if (empty($contact)) {
                // Possibly it is a remote item and not an account
                follow_remote_item($url);