summaryrefslogtreecommitdiff
path: root/httemplate/search/report_tax-xls.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_tax-xls.cgi')
-rwxr-xr-xhttemplate/search/report_tax-xls.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/report_tax-xls.cgi b/httemplate/search/report_tax-xls.cgi
index f19f85aaa..bb843a73f 100755
--- a/httemplate/search/report_tax-xls.cgi
+++ b/httemplate/search/report_tax-xls.cgi
@@ -1,4 +1,3 @@
-<% $data %>
<%init>
my $htmldoc = include('report_tax.cgi');
@@ -155,4 +154,6 @@ for my $x (0..scalar(@widths)-1) {
$workbook->close;
+http_header('Content-Length' => length($data));
+$m->print($data);
</%init>