diff options
author | ivan <ivan> | 2009-09-29 22:08:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-09-29 22:08:39 +0000 |
commit | c33e009d50f9af054a5a0195eca5df31c4fb9539 (patch) | |
tree | 43f2002974479745958f7d1999ea03fb22567629 | |
parent | 505d7cbfbaf382a9477e8e754a0b89676c23f5d1 (diff) |
should fix newsletter sending error when you select a single payby only
-rw-r--r-- | httemplate/misc/email-customers.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index 0d3d622c3..f644db9e9 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -126,7 +126,7 @@ die "access denied" my %search = $cgi->Vars; delete $search{$_} for qw( magic from subject html_body text_body ); $search{$_} = [ split(/\0/, $search{$_}) ] - foreach grep $search{$_} =~ /\0/, keys %search; + foreach grep { $_ eq 'payby' || $search{$_} =~ /\0/ } keys %search; my $title = 'Bulk send customer notices'; |