Florian Schaal
2014-08-22 2e908f3fdd42083a26bfbaf87db37960e76764bb
fixed typo in sql-query
1 files modified
2 ■■■ changed files
interface/web/mail/mail_domain_edit.php 2 ●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_edit.php
@@ -358,7 +358,7 @@
        //* dkim-value changed
        if ( $mail_data != $post_data ) {
            //* get the dns-record for the public from the db
            $dns_data = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE name = ? AND sys_groupid = ?'", $mail_data['dkim_selector'].'._domainkey.'.$mail_data['domain'].'.', $mail_data['sys_groupid']);
            $dns_data = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE name = ? AND sys_groupid = ?", $mail_data['dkim_selector'].'._domainkey.'.$mail_data['domain'].'.', $mail_data['sys_groupid']);
            //* we modify dkim dns-values for active mail-domains only
            if ( $post_data['active'] == 'y' ) {