aboutsummaryrefslogtreecommitdiffstats
path: root/mod/randprof.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/randprof.php')
-rw-r--r--mod/randprof.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/randprof.php b/mod/randprof.php
index 0726b231a..ca9fba7ef 100644
--- a/mod/randprof.php
+++ b/mod/randprof.php
@@ -5,6 +5,6 @@ function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
- goaway(zid($x));
+ goaway(chanlink_url($x));
goaway($a->get_baseurl() . '/profile');
}