dnsmasq: migrate to MVC/API, minor style fix https://github.com/opnsense/core/issues/7905

This commit is contained in:
Ad Schellevis 2025-02-03 11:14:24 +01:00
parent e93833258b
commit 163cbd2735

View File

@ -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';
}
]]></stepsubmitphpaction>
</step>