[freeside-commits] freeside/httemplate/misc email-customers.html, 1.7, 1.7.2.1
Mark Wells
mark at wavetail.420.am
Fri May 20 13:19:27 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv12171/httemplate/misc
Modified Files:
Tag: FREESIDE_2_1_BRANCH
email-customers.html
Log Message:
logging of template-generated mail, #12809
Index: email-customers.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/email-customers.html,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -w -d -r1.7 -r1.7.2.1
--- email-customers.html 1 Oct 2010 05:33:08 -0000 1.7
+++ email-customers.html 20 May 2011 20:19:25 -0000 1.7.2.1
@@ -186,7 +186,7 @@
$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'};
}
}
More information about the freeside-commits
mailing list