diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-09-04 10:29:33 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-09-04 10:29:33 +0200 |
commit | 2b2f1f274671db4421af6ed1d4b421b5ac8879b4 (patch) | |
tree | 3833d04de04ba2c999c704d05c67e4050eb2fd94 | |
parent | 5a1887ed176aeab56340d78d3ea834be71f2ca8e (diff) | |
download | volse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.tar.gz volse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.tar.bz2 volse-hubzilla-2b2f1f274671db4421af6ed1d4b421b5ac8879b4.zip |
fix register link if logged in
-rw-r--r-- | include/nav.php | 2 |
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')) { |