aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xboot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index e493ef34b..4eed19254 100755
--- a/boot.php
+++ b/boot.php
@@ -2493,8 +2493,8 @@ function check_cron_broken() {
* @return boolean
*/
function observer_prohibited($allow_account = false) {
- if($allow_account)
+ if($allow_account) {
return (((get_config('system', 'block_public')) && (! get_account_id()) && (! remote_channel())) ? true : false );
-
+ }
return (((get_config('system', 'block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
}