Fix clearing of default email

This commit is contained in:
Jamie Cameron
2025-11-08 17:16:30 -08:00
parent d37b790492
commit f2f40f1227

View File

@@ -66,7 +66,7 @@ else {
# Save to address
if ($in{'to_def'}) {
delete($mconfig{'webmin_to'});
delete($gconfig{'webmin_email_to'});
}
else {
$in{'to'} =~ /^\S+$/ || &error($text{'sendmail_etoaddr'});