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:
Michael Kaufmann (d00p)
2013-04-19 15:32:10 +02:00
parent 7adc2dd35c
commit 82973267f3
2 changed files with 3 additions and 3 deletions

View File

@@ -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');
}