[freeside-commits] freeside/FS/FS cust_main.pm,1.455,1.456
Ivan,,,
ivan at wavetail.420.am
Thu Oct 1 16:48:58 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27360
Modified Files:
cust_main.pm
Log Message:
hopefully fully fix bulk email errors when selecting a single payby
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.455
retrieving revision 1.456
diff -u -d -r1.455 -r1.456
--- cust_main.pm 21 Sep 2009 02:41:43 -0000 1.455
+++ cust_main.pm 1 Oct 2009 23:48:55 -0000 1.456
@@ -8235,6 +8235,9 @@
my $job = delete $params->{'job'};
+ $params->{'payby'} = [ split(/\0/, $params->{'payby'}) ]
+ unless ref($params->{'payby'});
+
my $sql_query = $class->search_sql($params);
my $count_query = delete($sql_query->{'count_query'});
@@ -8296,6 +8299,9 @@
$param->{'job'} = $job;
+ $param->{'payby'} = [ split(/\0/, $param->{'payby'}) ]
+ unless ref($param->{'payby'});
+
my $error = FS::cust_main->email_search_sql( $param );
die $error if $error;
More information about the freeside-commits
mailing list