Skip to content

Commit e699a5c

Browse files
author
dalewski
committed
closes FS#1479 - also_notify in dns wizard
1 parent 27c6232 commit e699a5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

interface/web/dns/dns_wizard.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,11 @@
235235
$minimum = $app->db->quote($vars['minimum']);
236236
$ttl = $app->db->quote($vars['ttl']);
237237
$xfer = $app->db->quote($vars['xfer']);
238+
$also_notify = $app->db->quote($vars['also_notify']);
238239
$serial = $app->validate_dns->increase_serial(0);
239240

240-
$insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `origin`, `ns`, `mbox`, `serial`, `refresh`, `retry`, `expire`, `minimum`, `ttl`, `active`, `xfer`) VALUES
241-
('$sys_userid', '$sys_groupid', 'riud', 'riud', '', '$server_id', '$origin', '$ns', '$mbox', '$serial', '$refresh', '$retry', '$expire', '$minimum', '$ttl', 'Y', '$xfer')";
241+
$insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `origin`, `ns`, `mbox`, `serial`, `refresh`, `retry`, `expire`, `minimum`, `ttl`, `active`, `xfer`, `also_notify`) VALUES
242+
('$sys_userid', '$sys_groupid', 'riud', 'riud', '', '$server_id', '$origin', '$ns', '$mbox', '$serial', '$refresh', '$retry', '$expire', '$minimum', '$ttl', 'Y', '$xfer', '$also_notify')";
242243
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
243244

244245
// Insert the dns_rr records

0 commit comments

Comments
 (0)