diff options
author | Mark Wells <mark@freeside.biz> | 2013-02-14 14:31:13 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-02-14 14:31:13 -0800 |
commit | e55892bdf6dc95710a19876087690a9664421215 (patch) | |
tree | f88bf2f4de6f1a2ca7a26100e5c88fd3d0557db3 /httemplate/search/bill_batch.cgi | |
parent | ea877a775f49883683a26c01da366993804e840d (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-x | httemplate/search/bill_batch.cgi | 6 |
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"> |