diff options
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'}; } } |