aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authormike <mike@zeus.(none)>2012-10-22 19:35:05 +1100
committermike <mike@zeus.(none)>2012-10-22 19:35:05 +1100
commit2c9db93d8f2cd678ffeb992af2cf58d8ecc19465 (patch)
treec2360f109cb18957efd7f568f03d315ea9d8bf10 /mod
parent56b95d50edb93f7e1f0aa5a5c6e5cd3c7ee6619c (diff)
downloadvolse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.tar.gz
volse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.tar.bz2
volse-hubzilla-2c9db93d8f2cd678ffeb992af2cf58d8ecc19465.zip
slight optimisation
Diffstat (limited to 'mod')
-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']);
}}