Florian Schaal
2016-06-10 db7e71b34fadb036a4eddb8277d84f31a27969d7
Fixes #3943
1 files modified
2 ■■■ changed files
interface/web/mail/xmpp_domain_edit.php 2 ●●● patch | view | raw | blame | history
interface/web/mail/xmpp_domain_edit.php
@@ -402,7 +402,7 @@
        //    $this->desyncMailusers($this->dataRecord['domain']);
        // Update DNS Records
        // TODO: Update gets only triggered from main form. WHY?
        $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  = ?", $this->dataRecord['domain'].'.');
        $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'].'.');
        if ( isset($soa) && !empty($soa) ) $this->update_dns($this->dataRecord, $soa);
    }