From fe699b35b2e0e81ce025e3ced4211f823ba0655f Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 23 Feb 2012 10:29:30 -0800 Subject: fix bug with manual notices directly to customers --- FS/FS/cust_main_Mixin.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS/FS/cust_main_Mixin.pm') diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 7fcb5b5..a067706 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -410,6 +410,7 @@ sub email_search_result { } my $sql_query = $class->search($param->{'search'}); + $sql_query->{'select'} = $sql_query->{'table'} . '.*'; my $count_query = delete($sql_query->{'count_query'}); my $count_sth = dbh->prepare($count_query) -- cgit v1.1