aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 61ae16644..9ebab1320 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -104,7 +104,7 @@ EOT;
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'));
- if(($a->config['register_policy'] == REGISTER_OPEN) && (! local_user()) && (! remote_user()))
+ if(($a->config['system']['register_policy'] == REGISTER_OPEN) && (! local_user()) && (! remote_user()))
$nav['register'] = array('register',t('Register'), "", t('Create an account'));
$help_url = $a->get_baseurl($ssl_state) . '/help';