1
0
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:
andryyy 2019-10-10 07:13:26 +02:00
parent ecce16a8ca
commit 3124226607
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -301,6 +301,9 @@ function quarantine($_action, $_data = null) {
if (!filter_var($_data['sender'], FILTER_VALIDATE_EMAIL)) {
$sender = '';
}
else {
$sender = $_data['sender'];
}
$html = $_data['html_tmpl'];
if ($max_age <= 0) {
$max_age = 365;