diff --git a/views/bootstrap/class.RoleMgr.php b/views/bootstrap/class.RoleMgr.php index 031d77238..76e0ba1c1 100644 --- a/views/bootstrap/class.RoleMgr.php +++ b/views/bootstrap/class.RoleMgr.php @@ -150,7 +150,7 @@ $(document).ready( function() { getRole() == SeedDMS_Core_Role::role_user) { + if($currRole && $currRole->getRole() != SeedDMS_Core_Role::role_admin) { echo ""; echo "".getMLText('restrict_access').""; echo "";