X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frandprof.php;h=d0b3c4ef85dc629aaab75d2def14c449d9ff1737;hb=735cb7c6c1619662925df913360c7eb0ec3c3b9d;hp=6713a81d9e4a2efe2f013feb6ceeb2c092a891fe;hpb=b202e02fbf09859c06ed21cc3b6bec1530ccf1f1;p=friendica.git diff --git a/mod/randprof.php b/mod/randprof.php index 6713a81d9e..d0b3c4ef85 100644 --- a/mod/randprof.php +++ b/mod/randprof.php @@ -1,10 +1,21 @@ get_baseurl() . '/profile'); + if ($x) { + $link = Contact::magicLink($x); + $a->redirect($link); + } + + $a->internalRedirect('profile'); }