X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=818a1ae5e95c7dd6ac0291655a2d50799ef5d526;hb=314431507da53469fe0bcf79b4b31ad362186db9;hp=d7b01e6192f00b1473abade23bb244a26e5b68f2;hpb=b8fa75b2dd70c3bdc7a4ba2f74d40fd290eaf0e8;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