Explorar o código

Update domain_settings.php

FusionPBX %!s(int64=7) %!d(string=hai) anos
pai
achega
0fbeeccfd1
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      core/domain_settings/domain_settings.php

+ 5 - 5
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 != '') {