summaryrefslogtreecommitdiff
path: root/httemplate/search/pay_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/pay_batch.cgi
parent2d5e3634cd4b4e8a80a41e1efb54ed0959c9a64b (diff)
include elements/search.html the right way to avoid problems with XLS download, #21421
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
-rwxr-xr-xhttemplate/search/pay_batch.cgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi
index b2a15ef3d..110d9c846 100755
--- a/httemplate/search/pay_batch.cgi
+++ b/httemplate/search/pay_batch.cgi
@@ -1,4 +1,4 @@
-<% include( 'elements/search.html',
+<& elements/search.html,
'title' => 'Payment Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'pay_batch',
@@ -84,9 +84,8 @@
sub { shift->status eq 'I' ? "b" : '' },
],
'html_init' => $html_init,
- )
-
-%>
+
+&>
<%init>
die "access denied"