X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frandprof.php;h=d0b3c4ef85dc629aaab75d2def14c449d9ff1737;hb=f2ca3e5be44192c486e8e3af2a993e065ad40a7d;hp=4da149afdc8c177dc11d765659dc6b0a02cdf2a0;hpb=d00ddc01afdef3e626ae0e711e52f830cbdf923a;p=friendica.git diff --git a/mod/randprof.php b/mod/randprof.php index 4da149afdc..d0b3c4ef85 100644 --- a/mod/randprof.php +++ b/mod/randprof.php @@ -13,7 +13,8 @@ function randprof_init(App $a) $x = GContact::getRandomUrl(); if ($x) { - $a->internalRedirect(Contact::magicLink($x)); + $link = Contact::magicLink($x); + $a->redirect($link); } $a->internalRedirect('profile');