]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
Merge remote branch 'upstream/master'
[friendica.git] / mod / profile.php
index 68d73fba3829b50aab8d2fb33897788ee148dfe9..51f9444121d20083f3908c30e63b82b7ab389822 100644 (file)
@@ -14,7 +14,7 @@ function profile_init(&$a) {
        else {
                $r = q("select nickname from user where blocked = 0 and account_expired = 0 and verified = 1 order by rand() limit 1");
                if(count($r)) {
-                       $which = $r[0]['nickname'];
+                       goaway($a->get_baseurl() . '/profile/' . $r[0]['nickname']);
                }
                else {
                        notice( t('Requested profile is not available.') . EOL );