From: ivan Date: Tue, 29 Sep 2009 22:08:40 +0000 (+0000) Subject: should fix newsletter sending error when you select a single payby only X-Git-Tag: freeside_1_7_4rc3~15 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=1e486582cfec7db91191b3e1ce258432942c829f;p=freeside.git should fix newsletter sending error when you select a single payby only --- 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';