diff options
author | mike <mike@zeus.(none)> | 2012-10-22 19:35:05 +1100 |
---|---|---|
committer | mike <mike@zeus.(none)> | 2012-10-22 19:35:05 +1100 |
commit | 2c9db93d8f2cd678ffeb992af2cf58d8ecc19465 (patch) | |
tree | c2360f109cb18957efd7f568f03d315ea9d8bf10 /mod/home.php | |
parent | 56b95d50edb93f7e1f0aa5a5c6e5cd3c7ee6619c (diff) | |
download | volse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.tar.gz volse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.tar.bz2 volse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.zip |
slight optimisation
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 4 |
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']); }} |