summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-09-29 22:08:40 +0000
committerivan <ivan>2009-09-29 22:08:40 +0000
commit1e486582cfec7db91191b3e1ce258432942c829f (patch)
tree7b2af4f66139413b07c8cad65718da784f9e5c58
parentb5e2745d5cf105722056924e4ec422657e788c6a (diff)
should fix newsletter sending error when you select a single payby only
-rw-r--r--httemplate/misc/email-customers.html2
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';