aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-06-10 11:58:45 +0200
committerMario Vavti <mario@mariovavti.com>2015-06-10 11:58:45 +0200
commit20a317b5b71547913d2eeff941dfc5276276213e (patch)
treeb12a684b79470952893d0b876219e3542659ee1d
parent29d9d38d7f1362759a820073c6a7771309c4504e (diff)
downloadvolse-hubzilla-20a317b5b71547913d2eeff941dfc5276276213e.tar.gz
volse-hubzilla-20a317b5b71547913d2eeff941dfc5276276213e.tar.bz2
volse-hubzilla-20a317b5b71547913d2eeff941dfc5276276213e.zip
really show login form if it is enabled
-rw-r--r--mod/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php
index b22dace8c..4b651d899 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -72,7 +72,7 @@ function home_content(&$a, $update = 0, $load = false) {
if($sitename)
$o .= '<h1>' . sprintf( t("Welcome to %s") ,$sitename) . '</h1>';
- if(intval(get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) {
+ if((! intval(get_config('system','block_public'))) && (! local_channel()) && (! remote_channel())) {
// If there's nothing special happening, just spit out a login box
$loginbox = get_config('system','login_on_homepage');
if(intval($loginbox) || $loginbox === false)
@@ -81,4 +81,4 @@ function home_content(&$a, $update = 0, $load = false) {
return $o;
-} \ No newline at end of file
+}