Skip to content

Commit 77eb71f

Browse files
committed
fix XMPP correct nameserver server_id
1 parent 40a36bf commit 77eb71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/xmpp_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function onAfterUpdate() {
402402
// $this->desyncMailusers($this->dataRecord['domain']);
403403
// Update DNS Records
404404
// TODO: Update gets only triggered from main form. WHY?
405-
$soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other FROM dns_soa WHERE active = 'Y' AND `origin` = ?", $this->dataRecord['domain'].'.');
405+
$soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, server_id FROM dns_soa WHERE active = 'Y' AND `origin` = ?", $this->dataRecord['domain'].'.');
406406
if ( isset($soa) && !empty($soa) ) $this->update_dns($this->dataRecord, $soa);
407407
}
408408

0 commit comments

Comments
 (0)