diff options
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | mod/home.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -599,7 +599,7 @@ if(! class_exists('App')) { $this->channel = $channel; } - function get_channel() + function get_channel() { return $this->channel; } diff --git a/mod/home.php b/mod/home.php index a49ce567e..4d6530f71 100644 --- a/mod/home.php +++ b/mod/home.php @@ -8,7 +8,7 @@ function home_init(&$a) { $channel = $a->get_channel(); - if(local_user() && $channel && $channel['channel_address'])) + if(local_user() && $channel && $channel['channel_address']) goaway( $a->get_baseurl() . '/profile/' . $channel['channel_address']); }} |