From 2103a18a3be93d38f2c1e69bea14a2681e382007 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 3 Feb 2012 01:08:11 +0000 Subject: email to search results, #16246 --- httemplate/misc/email-customers.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'httemplate/misc/email-customers.html') diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index d981aeae9..b87a1bfbb 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -191,7 +191,10 @@ if ( $cgi->param('action') eq 'preview' ) { $sql_query->{'order_by'} = ''; my $object = qsearchs($sql_query); my $cust = $object->cust_main; - my %message = $msg_template->prepare( 'cust_main' => $cust ); + my %message = $msg_template->prepare( + 'cust_main' => $cust, + 'object' => $object + ); ($from, $subject, $html_body) = @message{'from', 'subject', 'html_body'}; } } -- cgit v1.2.1