From 1b829f64dbd540d4cc14616bfbf6706c7d88ca29 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 24 Jul 2019 01:07:49 -0600 Subject: [PATCH] Update domain_delete.php --- core/domains/domain_delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/domains/domain_delete.php b/core/domains/domain_delete.php index ee3c8380ee..0b0c99f5ae 100644 --- a/core/domains/domain_delete.php +++ b/core/domains/domain_delete.php @@ -30,7 +30,7 @@ require_once "resources/check_auth.php"; //check permissions - if (permission_exists('domain_delete')) { + if (permission_exists('domain_all') && permission_exists('domain_delete')) { //access granted } else {