summaryrefslogtreecommitdiff
path: root/httemplate/search/bill_batch.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-02-14 14:17:46 -0800
committerMark Wells <mark@freeside.biz>2013-02-14 14:17:46 -0800
commit4e0af9b29e994900a0e7ace25fdc70241bdbe4b6 (patch)
treef8a74242cd12fca707cf6e21c4e0f0b1b59e4d65 /httemplate/search/bill_batch.cgi
parent2d5e3634cd4b4e8a80a41e1efb54ed0959c9a64b (diff)
include elements/search.html the right way to avoid problems with XLS download, #21421
Diffstat (limited to 'httemplate/search/bill_batch.cgi')
-rwxr-xr-xhttemplate/search/bill_batch.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/httemplate/search/bill_batch.cgi b/httemplate/search/bill_batch.cgi
index b6676f261..b740bdc68 100755
--- a/httemplate/search/bill_batch.cgi
+++ b/httemplate/search/bill_batch.cgi
@@ -26,7 +26,7 @@ function start() {
% -expires => '-1d',
% );
% $r->headers_out->add( 'Set-Cookie' => $cookie->as_string );
-<% include( 'elements/search.html',
+<& elements/search.html,
'title' => 'Invoice Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'bill_batch',
@@ -67,9 +67,7 @@ function start() {
'agent_pos' => 1,
'html_foot' => include('.foot'),
- )
-
-%>
+&>
%}
<%def .foot>
<SCRIPT type="text/javascript">