diff options
author | mark <mark> | 2011-05-20 20:19:26 +0000 |
---|---|---|
committer | mark <mark> | 2011-05-20 20:19:26 +0000 |
commit | ca8956946894bf0ab03324f1f80797bf38d0f31e (patch) | |
tree | e5e8ea2252569cbfc3e504a3380029bff87f5e3b /httemplate/misc | |
parent | 18c0d8edb8bc38369eb5e3be925ed02f2382a45b (diff) |
logging of template-generated mail, #12809
Diffstat (limited to 'httemplate/misc')
-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'}; } } |