We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ceb05 commit fb024aaCopy full SHA for fb024aa
interface/web/mail/mail_domain_del.php
@@ -78,7 +78,7 @@ function onBeforeDelete() {
78
}
79
80
// Delete all spamfilters that belong to this domain
81
- $records = $app->db->queryAllRecords("SELECT id FROM spamfilter_users WHERE email = ?", '%@' . $domain);
+ $records = $app->db->queryAllRecords("SELECT id FROM spamfilter_users WHERE email like ?", '%@' . $domain);
82
foreach($records as $rec) {
83
$app->db->datalogDelete('spamfilter_users', 'id', $rec['id']);
84
0 commit comments