fix small things
This commit is contained in:
@@ -106,7 +106,7 @@ class page {
|
||||
$toFind = $this->get_subpage();
|
||||
}
|
||||
$subPage = $this->findInStructure($toFind, $structure);
|
||||
if ('exception' != $subPage && !$user->has_authority_by_name($subPage)) {
|
||||
if ((!empty($user) && $user->is_logged_in()) && 'exception' != $subPage && !$user->has_authority_by_name($subPage)) {
|
||||
include('include_access_denied.php');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user