summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-02-24 00:12:31 -0800
committerIvan Kohler <ivan@freeside.biz>2012-02-24 00:12:31 -0800
commit7cfa84ec05dd75cd550cbb2c1ddac4161518fd1e (patch)
tree37e5cd3c14527633213db3ac7e51aae0dbff2f1b /httemplate
parent2594f387f6c9acf4df181e2f47ffb42ac0de5b52 (diff)
parentfe699b35b2e0e81ce025e3ced4211f823ba0655f (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate')
-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;