HESK v3.2.5

This commit is contained in:
Luke Tainton
2022-04-23 17:18:38 +01:00
parent f7cfa565b1
commit 177f99d0ef
136 changed files with 463 additions and 345 deletions

View File

@@ -165,6 +165,11 @@ function ban_email()
$email = ($index = strpos($email, ',')) ? substr($email, 0, $index) : $email;
$email = ($index = strpos($email, ';')) ? substr($email, 0, $index) : $email;
// We don't need *@ to ban domains, remove the star if present
if (strpos($email, '*@') === 0) {
$email = ltrim($email, '*');
}
// Validate email address
$hesk_settings['multi_eml'] = 0;