[freeside-commits] freeside/httemplate/misc email-customers.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Tue Sep 29 15:08:41 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv11042

Modified Files:
	email-customers.html 
Log Message:
should fix newsletter sending error when you select a single payby only

Index: email-customers.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/email-customers.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- email-customers.html	17 Jun 2008 03:35:56 -0000	1.1
+++ email-customers.html	29 Sep 2009 22:08:39 -0000	1.2
@@ -126,7 +126,7 @@
 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';
 



More information about the freeside-commits mailing list