From a66025089958f4dc171127857941fa9bef55dafd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 10 Aug 2020 12:29:50 -0600 Subject: [PATCH] Update domain_edit.php --- core/domains/domain_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 12a07d3a02..4a7d514cc3 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -44,7 +44,7 @@ $text = $language->get(); //action add or update - if (!permission_exists('domain_add') || (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/") && !permission_exists('domain_parent') && permission_exists('domain_descendants'))) { + if (!permission_exists('domain_add') || (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/") && !permission_exists('domain_all'))) { //admin editing own domain/settings $domain_uuid = $_SESSION['domain_uuid']; $action = "update";