aboutsummaryrefslogtreecommitdiffstats
path: root/mod/randprof.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/randprof.php')
-rw-r--r--mod/randprof.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/randprof.php b/mod/randprof.php
index 0726b231a..bddb3251a 100644
--- a/mod/randprof.php
+++ b/mod/randprof.php
@@ -5,6 +5,7 @@ function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
- goaway(zid($x));
+ goaway(chanlink_url($x));
+ // FIXME this doesn't work at the moment as a fallback
goaway($a->get_baseurl() . '/profile');
}