diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/isadmin.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/include/isadmin.inc.php b/admin/include/isadmin.inc.php index 90398702b..9b71cb900 100644 --- a/admin/include/isadmin.inc.php +++ b/admin/include/isadmin.inc.php @@ -27,8 +27,7 @@ include( PHPWG_ROOT_PATH.'admin/include/functions.php' ); -$isadmin = true; -if ( $user['status'] != 'admin' ) +if ($user['status'] != 'admin') { echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['ident_title'].'</a></div>'; |