aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php
index 4d6530f71..51e95f25b 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -8,8 +8,8 @@ function home_init(&$a) {
$channel = $a->get_channel();
- if(local_user() && $channel && $channel['channel_address'])
- goaway( $a->get_baseurl() . '/profile/' . $channel['channel_address']);
+ if(local_user() && $channel && $channel['channel_profile'])
+ goaway( $channel['channel_profile']);
}}