respect deactivation of 'nameserver' yes|no in domain-edit (thx to monumentum); beautify preconfig
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -815,7 +815,7 @@ if($page == 'domains'
|
||||
$zonefile = $result['zonefile'];
|
||||
if ($settings['system']['bind_enable'] == '1') {
|
||||
if (isset($_POST['isbinddomain'])) {
|
||||
$isbinddomain = '1';
|
||||
$isbinddomain = (int)$_POST['isbinddomain'];
|
||||
}
|
||||
$zonefile = validate($_POST['zonefile'], 'zonefile');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user