diff --git a/system/controllers/customers.php b/system/controllers/customers.php index 71e252b4..57c20474 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -314,7 +314,7 @@ switch ($action) { } break; case 'edit': - if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin', 'Agent'])) { + if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) { _alert(Lang::T('You do not have permission to access this page'), 'danger', "dashboard"); } $id = $routes['2'];