From 542a72726e5fee30a6afdfcbddce7db43af3fcc2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 25 Mar 2018 23:10:33 -0600 Subject: [PATCH] Update domain_settings.php --- core/domain_settings/domain_settings.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/domain_settings/domain_settings.php b/core/domain_settings/domain_settings.php index 9c9ecd1ed5..ff39fa9581 100644 --- a/core/domain_settings/domain_settings.php +++ b/core/domain_settings/domain_settings.php @@ -39,11 +39,11 @@ //toggle enabled if (sizeof($_REQUEST) > 1) { - - $action = check_str($_REQUEST["action"]); - $domain_uuid = check_str($_REQUEST["domain_id"]); - $domain_setting_uuids = $_REQUEST["id"]; - $enabled = check_str($_REQUEST['enabled']); + //get the variables + $action = check_str($_REQUEST["action"]); + $domain_uuid = check_str($_REQUEST["domain_id"]); + $domain_setting_uuids = $_REQUEST["id"]; + $enabled = check_str($_REQUEST['enabled']); //change enabled value if ($domain_uuid != '' && sizeof($domain_setting_uuids) == 1 && $enabled != '') {