mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
FAQs enhancements and fixes. FAQ search menu added.
This commit is contained in:
@@ -1131,7 +1131,7 @@ class e_admin_dispatcher
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!empty($this->perm) && is_array($this->perm) && !e107::getUser()->checkAdminPerms($this->perm[$route]))
|
||||
if(is_array($this->perm) && !empty($this->perm[$route]) && !e107::getUser()->checkAdminPerms($this->perm[$route]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user