aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--mod/home.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index afa9c0e1e..ae69ffacb 100644
--- a/boot.php
+++ b/boot.php
@@ -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']);
}}