Update domain_settings.php
This commit is contained in:
parent
99de39eb88
commit
542a72726e
|
|
@ -39,11 +39,11 @@
|
||||||
|
|
||||||
//toggle enabled
|
//toggle enabled
|
||||||
if (sizeof($_REQUEST) > 1) {
|
if (sizeof($_REQUEST) > 1) {
|
||||||
|
//get the variables
|
||||||
$action = check_str($_REQUEST["action"]);
|
$action = check_str($_REQUEST["action"]);
|
||||||
$domain_uuid = check_str($_REQUEST["domain_id"]);
|
$domain_uuid = check_str($_REQUEST["domain_id"]);
|
||||||
$domain_setting_uuids = $_REQUEST["id"];
|
$domain_setting_uuids = $_REQUEST["id"];
|
||||||
$enabled = check_str($_REQUEST['enabled']);
|
$enabled = check_str($_REQUEST['enabled']);
|
||||||
|
|
||||||
//change enabled value
|
//change enabled value
|
||||||
if ($domain_uuid != '' && sizeof($domain_setting_uuids) == 1 && $enabled != '') {
|
if ($domain_uuid != '' && sizeof($domain_setting_uuids) == 1 && $enabled != '') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue