You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interface/web/mail/mail_domain_edit.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -318,7 +318,7 @@ function onAfterInsert() {
318
318
$soaDomain = $this->dataRecord['domain'].'.';
319
319
while ((!isset($soa) && (substr_count($soaDomain,'.') > 1))) {
320
320
$soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, server_id, ttl, serial FROM dns_soa WHERE active = 'Y' AND origin = ?", $soaDomain);
if ( isset($soa) && !empty($soa) ) $this->update_dns($this->dataRecord, $soa);
324
324
}
@@ -444,7 +444,7 @@ function onAfterUpdate() {
444
444
$soaDomain = $this->dataRecord['domain'].'.';
445
445
while ((!isset($soa) && (substr_count($soaDomain,'.') > 1))) {
446
446
$soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, server_id, ttl, serial FROM dns_soa WHERE active = 'Y' AND origin = ?", $soaDomain);
0 commit comments