diff --git a/src/wizard/system.xml b/src/wizard/system.xml index 5882d7848..ad98a0504 100644 --- a/src/wizard/system.xml +++ b/src/wizard/system.xml @@ -155,9 +155,7 @@ if (!empty($_POST['secondarydnsserver']) && !is_ipaddrv4($_POST['secondarydnsser if (!empty($input_errors)) { $stepid--; } else { - if (!empty($config['dnsmasq']['enable'])) { - unset($config['dnsmasq']['enable']); - } + $config['dnsmasq']['enable'] = '0'; } ]]>