diff options
Diffstat (limited to 'code/links.inc.php')
-rw-r--r-- | code/links.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/links.inc.php b/code/links.inc.php index ab3b786..39a1ae2 100644 --- a/code/links.inc.php +++ b/code/links.inc.php @@ -4,7 +4,9 @@ class Links { function GetNeonLink($page) { - return 'index.php?page=' . $page; + if($GLOBALS['pages']->HasAccess($page)) + return 'index.php?page=' . $page; + return ''; } function GetExternalLink($link) { |