[freeside-commits] freeside/httemplate/misc email-customers.html, 1.7, 1.8

Mark Wells mark at wavetail.420.am
Fri May 20 13:19:46 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv12299/httemplate/misc

Modified Files:
	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.8
diff -u -w -d -r1.7 -r1.8
--- email-customers.html	1 Oct 2010 05:33:08 -0000	1.7
+++ email-customers.html	20 May 2011 20:19:44 -0000	1.8
@@ -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