summaryrefslogtreecommitdiffstats
path: root/code/links.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/links.inc.php')
-rw-r--r--code/links.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/links.inc.php b/code/links.inc.php
index 9fbaae3..5c48f54 100644
--- a/code/links.inc.php
+++ b/code/links.inc.php
@@ -4,7 +4,7 @@
class Links {
function GetNeonLink($page, $extra = '', $html = true) {
if($GLOBALS['pages']->HasAccess($page, 'c')) {
- if($GLOBALS['user']->GetLoginType() == 'url')
+ if($GLOBALS['user']->login_type == 'url')
$ret = 'index.php?page=' . $page . '&login=' . $GLOBALS['user']->GetLoginKey()
. ($extra ? '&' . $extra : '');