slight optimisation

This commit is contained in:
mike 2012-10-22 19:35:05 +11:00
parent 56b95d50ed
commit 2c9db93d8f

View File

@ -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']);
}}