Skip to content

Commit 2e908f3

Browse files
author
Florian Schaal
committed
fixed typo in sql-query
1 parent c9fa7a4 commit 2e908f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/mail_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ function onBeforeUpdate() {
358358
//* dkim-value changed
359359
if ( $mail_data != $post_data ) {
360360
//* get the dns-record for the public from the db
361-
$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']);
361+
$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']);
362362

363363
//* we modify dkim dns-values for active mail-domains only
364364
if ( $post_data['active'] == 'y' ) {

0 commit comments

Comments
 (0)