diff options
author | mark <mark> | 2011-05-20 20:19:44 +0000 |
---|---|---|
committer | mark <mark> | 2011-05-20 20:19:44 +0000 |
commit | bb119c4cc86e906f698a205437790bd8f96bb3d0 (patch) | |
tree | 5d9f3d66aeb07dba0fa522e28c68ebb5095f71db /httemplate/misc/email-customers.html | |
parent | 7091372fa4580cc041feb25263ac3c1d67c59e3f (diff) |
logging of template-generated mail, #12809
Diffstat (limited to 'httemplate/misc/email-customers.html')
-rw-r--r-- | httemplate/misc/email-customers.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index 759c8bf94..97ad8d8d4 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -186,7 +186,7 @@ if ( $cgi->param('action') eq 'preview' ) { $sql_query->{'extra_sql'} .= ' LIMIT 1'; $sql_query->{'order_by'} = ''; my $cust = qsearchs($sql_query)->cust_main; - my %message = $msg_template->prepare( 'cust_main' => $cust ); + my %message = $msg_template->prepare( 'cust_main' => $cust, 'preview' => 1 ); ($from, $subject, $html_body) = @message{'from', 'subject', 'html_body'}; } } |