fix deactivating of nameserver-option in admin_domains when editing a domain, fixes #1264

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p) 2013-09-18 23:29:41 +02:00
parent 23361e64bb
commit a62eff0819

View File

@ -833,6 +833,8 @@ if($page == 'domains'
if ($settings['system']['bind_enable'] == '1') { if ($settings['system']['bind_enable'] == '1') {
if (isset($_POST['isbinddomain'])) { if (isset($_POST['isbinddomain'])) {
$isbinddomain = (int)$_POST['isbinddomain']; $isbinddomain = (int)$_POST['isbinddomain'];
} else {
$isbindomain = 0;
} }
$zonefile = validate($_POST['zonefile'], 'zonefile'); $zonefile = validate($_POST['zonefile'], 'zonefile');
} }