summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-09-29 22:08:39 +0000
committerivan <ivan>2009-09-29 22:08:39 +0000
commitc33e009d50f9af054a5a0195eca5df31c4fb9539 (patch)
tree43f2002974479745958f7d1999ea03fb22567629
parent505d7cbfbaf382a9477e8e754a0b89676c23f5d1 (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';