X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=818a1ae5e95c7dd6ac0291655a2d50799ef5d526;hb=ef5d178e008e72c4afb9ac2fe121140f452d9829;hp=d7b01e6192f00b1473abade23bb244a26e5b68f2;hpb=4495e83eca67986ecbd5e083509c782116d77c6c;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index d7b01e6192..818a1ae5e9 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -1,6 +1,6 @@ DI::l10n()->t('Status Messages and Posts')] @@ -175,7 +174,7 @@ function follow_process(App $a, string $url) { $return_path = 'follow?url=' . urlencode($url); - $result = Contact::createFromProbeForUser($a->getUserId(), $url); + $result = Contact::createFromProbeForUser($a->getLoggedInUserId(), $url); if ($result['success'] == false) { // Possibly it is a remote item and not an account