summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_pkg_referral.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-07-06 13:00:17 -0700
committerMark Wells <mark@freeside.biz>2012-07-06 13:00:17 -0700
commit005424d0c899aa899f43f583a6c74deb13ea4be1 (patch)
tree289ebba877424c4c2df2d9e80a749d1d0ec725b5 /httemplate/search/cust_bill_pkg_referral.html
parent0610c50fd0786e2e6ccc850d68b6e865eba86541 (diff)
excel number format fix, #17971
Diffstat (limited to 'httemplate/search/cust_bill_pkg_referral.html')
-rw-r--r--httemplate/search/cust_bill_pkg_referral.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill_pkg_referral.html b/httemplate/search/cust_bill_pkg_referral.html
index f17cea3d9..1bb6b9179 100644
--- a/httemplate/search/cust_bill_pkg_referral.html
+++ b/httemplate/search/cust_bill_pkg_referral.html
@@ -190,7 +190,7 @@ my @orwhere;
push @orwhere, "(cust_bill_pkg.setup > 0)" if $setup;
push @orwhere, "($recur_sql > 0)" if $recur;
push @orwhere, "($usage_sql > 0)" if $usage;
-push @where, join(' OR ', @orwhere);
+push @where, '('.join(' OR ', @orwhere).')' if @orwhere;
$join_cust = ' JOIN cust_bill USING ( invnum )
LEFT JOIN cust_main USING ( custnum )