aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 20:50:31 -0700
committerfriendica <info@friendica.com>2012-04-10 20:50:31 -0700
commitb02a671494b9278b338b015322df7896e4a71696 (patch)
treedce36262b95c5cccc0b8a219bc3401bec1a0378c /mod/profile.php
parent0fa932853c76d8aca9fecf125d4c2d6816fb1a4a (diff)
downloadvolse-hubzilla-b02a671494b9278b338b015322df7896e4a71696.tar.gz
volse-hubzilla-b02a671494b9278b338b015322df7896e4a71696.tar.bz2
volse-hubzilla-b02a671494b9278b338b015322df7896e4a71696.zip
visit "random profile" feature
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 68d73fba3..51f944412 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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 );