Allow disable of email

This commit is contained in:
Jamie Cameron
2008-10-01 20:37:02 +00:00
parent f6788682b3
commit 6690c14c64

View File

@@ -35,7 +35,7 @@ else {
@files || &error($text{'save_efiles'});
$in{'dest'} =~ /^\// || &error($text{'save_edest'});
if ($in{'email_def'}) {
delete($copy->{'email'});
$copy->{'email'} = '';
}
else {
$in{'email'} =~ /^\S+$/ || &error($text{'save_eemail'});