aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-04 10:29:33 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-04 10:29:33 +0200
commit2b2f1f274671db4421af6ed1d4b421b5ac8879b4 (patch)
tree3833d04de04ba2c999c704d05c67e4050eb2fd94 /include
parent5a1887ed176aeab56340d78d3ea834be71f2ca8e (diff)
downloadvolse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.tar.gz
volse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.tar.bz2
volse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.zip
fix register link if logged in
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 4d411e603..9cee8dd7e 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -148,7 +148,7 @@ EOT;
if(! local_channel())
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'),'home_nav_btn');
- if((App::$config['system']['register_policy'] == REGISTER_OPEN) || (App::$config['system']['register_policy'] == REGISTER_APPROVE) && (! $_SESSION['authenticated']))
+ if(((App::$config['system']['register_policy'] == REGISTER_OPEN) || (App::$config['system']['register_policy'] == REGISTER_APPROVE)) && (! $_SESSION['authenticated']))
$nav['register'] = array('register',t('Register'), "", t('Create an account'),'register_nav_btn');
if(! get_config('system','hide_help')) {