diff options
Diffstat (limited to 'ui/app/controllers/CControllerRegExDelete.php')
-rw-r--r-- | ui/app/controllers/CControllerRegExDelete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerRegExDelete.php b/ui/app/controllers/CControllerRegExDelete.php index 3afb6f762f0..e772d89a492 100644 --- a/ui/app/controllers/CControllerRegExDelete.php +++ b/ui/app/controllers/CControllerRegExDelete.php @@ -40,7 +40,7 @@ class CControllerRegExDelete extends CController { } protected function checkPermissions() { - if ($this->getUserType() != USER_TYPE_SUPER_ADMIN) { + if (!$this->checkAccess(CRoleHelper::UI_ADMINISTRATION_GENERAL)) { return false; } |