aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorMichael <icarus@dabo.de>2012-04-11 18:48:58 +0200
committerMichael <icarus@dabo.de>2012-04-11 18:48:58 +0200
commit39405c8056b4a1d55c97fb2963d8776695dbeb30 (patch)
treec9f89ba0e9aacee343cf50b6b8a64468bb8db694 /mod/profile.php
parentc3139fa0fd49b0b4de4568d46a6946c75ccb2a62 (diff)
parentcdb6510b9f3007d2afd3081313caa7d045af1e7c (diff)
downloadvolse-hubzilla-39405c8056b4a1d55c97fb2963d8776695dbeb30.tar.gz
volse-hubzilla-39405c8056b4a1d55c97fb2963d8776695dbeb30.tar.bz2
volse-hubzilla-39405c8056b4a1d55c97fb2963d8776695dbeb30.zip
Merge remote branch 'upstream/master'
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 );