From 2c9db93d8f2cd678ffeb992af2cf58d8ecc19465 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 22 Oct 2012 19:35:05 +1100 Subject: slight optimisation --- mod/home.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/home.php') 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']); }} -- cgit v1.2.3