aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index db6d12710..af74d0f69 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -574,7 +574,7 @@ function access_denied()
get_root_url().'identification.php?redirect='
.urlencode(urlencode($_SERVER['REQUEST_URI']));
- if ( isset($user['is_the_guest']) and !$user['is_the_guest'] )
+ if ( isset($user) and !is_a_guest() )
{
echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
echo '<a href="'.get_root_url().'identification.php">'.$lang['identification'].'</a>&nbsp;';