Skip to content

Commit c69903f

Browse files
author
Marius Burkard
committed
Merge branch '6286-deactivate-e-mail-doman-policy-dont-work' into 'develop'
Resolve "Deactivate e-mail doman policy dont work" Closes #6286 See merge request ispconfig/ispconfig3!1561
2 parents 3e536aa + d716ba2 commit c69903f

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
@@ -440,7 +440,7 @@ function onAfterUpdate() {
440440
}
441441
}
442442

443-
$tmp_user = $app->db->queryOneRecord("SELECT id FROM spamfilter_users WHERE email = ?", '@' . $domain);
443+
$tmp_user = $app->db->queryOneRecord("SELECT id, policy_id FROM spamfilter_users WHERE email = ?", '@' . $domain);
444444
if($tmp_user["id"] > 0) {
445445
// There is already a record that we will update
446446
if((! $skip_spamfilter_users_update) && ($policy_id != $tmp_user['policy_id'])) {

0 commit comments

Comments
 (0)