From cf49d3c860a2000cfc23a0e0db472a7d6fc58935 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 4 Dec 2009 04:40:28 +0000 Subject: customer-specific account report (and some small refactoring of method names to clash less), RT#6180 --- httemplate/misc/email-customers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/misc/email-customers.html') 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; -- cgit v1.2.1