system: also for #1291

This commit is contained in:
Franco Fichtner 2017-05-14 08:05:00 +02:00
parent 4fa4d21140
commit ec3bcbe26b

View File

@ -53,7 +53,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig[$dnsname] = !empty($config['system']['dnsserver'][$dnscounter - 1]) ? $config['system']['dnsserver'][$dnscounter - 1] : null;
$dnsgwname= "dns{$dnscounter}gw";
$pconfig[$dnsgwopt] = !empty($config['system'][$dnsgwopt]) ? $config['system'][$dnsgwopt] : 'none';
$pconfig[$dnsgwname] = !empty($config['system'][$dnsgwname]) ? $config['system'][$dnsgwname] : 'none';
}
$pconfig['dnsallowoverride'] = isset($config['system']['dnsallowoverride']);