diff options
Diffstat (limited to 'code/links.inc.php')
-rw-r--r-- | code/links.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/links.inc.php b/code/links.inc.php index 6c6fcd8..54d1dd9 100644 --- a/code/links.inc.php +++ b/code/links.inc.php @@ -3,7 +3,7 @@ class Links { function GetNeonLink($page, $extra = '', $html = true) { - if($GLOBALS['pages']->HasReadAccess($page, 'c')) { + if($GLOBALS['pages']->HasReadAccess($page)) { if($GLOBALS['user']->login_type == 'url') $ret = 'index.php?page=' . $page . '&login=' . $GLOBALS['user']->login_key . ($extra ? '&' . $extra : ''); |