X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=ac07d040cc99afb11d9afcbe9747fa91de507c16;hb=3fc3ded750afe4b90c95f3036bded015ed5c9572;hp=97bf9fcf9a50f89752e5b35d6e1c33e4c33449dc;hpb=dc42dbb68a50fb2c60f439393eb6d1fe80b327cf;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 97bf9fcf9a..ac07d040cc 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -62,7 +62,7 @@ function follow_post(App $a) DI::baseUrl()->redirect('contact/' . $result['cid']); } - info(DI::l10n()->t('The contact could not be added.')); + notice(DI::l10n()->t('The contact could not be added.')); DI::baseUrl()->redirect($return_path); // NOTREACHED @@ -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);