summaryrefslogtreecommitdiff
path: root/httemplate/misc/email-customers.html
diff options
context:
space:
mode:
authorivan <ivan>2009-12-04 04:45:44 +0000
committerivan <ivan>2009-12-04 04:45:44 +0000
commit6183d985647a5deba02d6937b9d383b464f1ee38 (patch)
tree6d910c345b3539b9a95899c0f16005792af15776 /httemplate/misc/email-customers.html
parent61b46166b19b08afaed037bc7748515db6e32f13 (diff)
customer-specific account report (and some small refactoring of method names to clash less), RT#6180
Diffstat (limited to 'httemplate/misc/email-customers.html')
-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 46bf3b4fe..4e4c15f2a 100644
--- a/httemplate/misc/email-customers.html
+++ b/httemplate/misc/email-customers.html
@@ -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;