slight optimisation
This commit is contained in:
parent
56b95d50ed
commit
2c9db93d8f
@ -8,8 +8,8 @@ function home_init(&$a) {
|
|||||||
|
|
||||||
$channel = $a->get_channel();
|
$channel = $a->get_channel();
|
||||||
|
|
||||||
if(local_user() && $channel && $channel['channel_address'])
|
if(local_user() && $channel && $channel['channel_profile'])
|
||||||
goaway( $a->get_baseurl() . '/profile/' . $channel['channel_address']);
|
goaway( $channel['channel_profile']);
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user