[Web] Fix for broken setting in quarantine (sender)
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