Skip to content

Commit 90368d7

Browse files
author
dalewski
committed
closes FS#1479 (again) - update_acl in dns wizard
1 parent e699a5c commit 90368d7

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
@@ -236,10 +236,11 @@
236236
$ttl = $app->db->quote($vars['ttl']);
237237
$xfer = $app->db->quote($vars['xfer']);
238238
$also_notify = $app->db->quote($vars['also_notify']);
239+
$update_acl = $app->db->quote($vars['update_acl']);
239240
$serial = $app->validate_dns->increase_serial(0);
240241

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')";
242+
$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`, `update_acl`) VALUES
243+
('$sys_userid', '$sys_groupid', 'riud', 'riud', '', '$server_id', '$origin', '$ns', '$mbox', '$serial', '$refresh', '$retry', '$expire', '$minimum', '$ttl', 'Y', '$xfer', '$also_notify', '$update_acl')";
243244
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
244245

245246
// Insert the dns_rr records

0 commit comments

Comments
 (0)