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 c8437e8 commit d423738Copy full SHA for d423738
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 = '@".$app->db->quote($domain)."'");
+ $records = $app->db->queryAllRecords("SELECT id FROM spamfilter_users WHERE email = '%@".$app->db->quote($domain)."'");
82
foreach($records as $rec) {
83
$app->db->datalogDelete('spamfilter_users','id',$rec['id']);
84
0 commit comments