mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-10 04:18:10 +02:00
[Web] Fix for broken setting in quarantine (sender)
This commit is contained in:
parent
ecce16a8ca
commit
3124226607
@ -301,6 +301,9 @@ function quarantine($_action, $_data = null) {
|
|||||||
if (!filter_var($_data['sender'], FILTER_VALIDATE_EMAIL)) {
|
if (!filter_var($_data['sender'], FILTER_VALIDATE_EMAIL)) {
|
||||||
$sender = '';
|
$sender = '';
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$sender = $_data['sender'];
|
||||||
|
}
|
||||||
$html = $_data['html_tmpl'];
|
$html = $_data['html_tmpl'];
|
||||||
if ($max_age <= 0) {
|
if ($max_age <= 0) {
|
||||||
$max_age = 365;
|
$max_age = 365;
|
||||||
|
Loading…
Reference in New Issue
Block a user