summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-02-23 10:29:30 -0800
committerMark Wells <mark@freeside.biz>2012-02-23 10:29:30 -0800
commitfe699b35b2e0e81ce025e3ced4211f823ba0655f (patch)
treeffeeb73216fbb4849b690d9d94d43ead77575e8c /httemplate/misc
parentec2a4130eedbec0a08278456439605aaadbdda85 (diff)
fix bug with manual notices directly to customers
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/email-customers.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html
index b87a1bfbb..d26e40298 100644
--- a/httemplate/misc/email-customers.html
+++ b/httemplate/misc/email-customers.html
@@ -188,6 +188,7 @@ if ( $cgi->param('action') eq 'preview' ) {
{ msgnum => $cgi->param('msgnum') } )
or die "template not found: ".$cgi->param('msgnum');
$sql_query->{'extra_sql'} .= ' LIMIT 1';
+ $sql_query->{'select'} = "$table.*";
$sql_query->{'order_by'} = '';
my $object = qsearchs($sql_query);
my $cust = $object->cust_main;