X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customers.html;h=4e4c15f2a146b00e17982237e362d66631bb804a;hb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;hp=f644db9e9db089d4b718042467f2445fec016274;hpb=c33e009d50f9af054a5a0195eca5df31c4fb9539;p=freeside.git
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html
index f644db9e9..4e4c15f2a 100644
--- a/httemplate/misc/email-customers.html
+++ b/httemplate/misc/email-customers.html
@@ -4,7 +4,7 @@
% foreach my $key ( keys %search ) {
% my @values = ref($search{$key}) ? @{$search{$key}} : ( $search{$key} );
% foreach my $value ( @values ) {
-
+
% }
% }
@@ -132,7 +132,7 @@ my $title = 'Bulk send customer notices';
my $num_cust;
if ( $cgi->param('magic') eq 'preview' ) {
- my $sql_query = FS::cust_main->search_sql(\%search);
+ my $sql_query = FS::cust_main->search(\%search);
my $count_query = delete($sql_query->{'count_query'});
my $count_sth = dbh->prepare($count_query)
or die "Error preparing $count_query: ". dbh->errstr;