summaryrefslogtreecommitdiff
path: root/httemplate/search/bill_batch.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-02-14 14:31:13 -0800
committerMark Wells <mark@freeside.biz>2013-02-14 14:31:13 -0800
commite55892bdf6dc95710a19876087690a9664421215 (patch)
treef88bf2f4de6f1a2ca7a26100e5c88fd3d0557db3 /httemplate/search/bill_batch.cgi
parentea877a775f49883683a26c01da366993804e840d (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">