summaryrefslogtreecommitdiff
path: root/httemplate/graph
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-11-27 21:43:37 -0800
committerMark Wells <mark@freeside.biz>2012-11-27 21:43:37 -0800
commit226fffec6fd0154ea8798b58321d4d119341879f (patch)
treef1cbbf032f75d0f566fa06f514fe0194a5649c28 /httemplate/graph
parentcb66e7cac35892a482cf07c7e05db5ff6296c395 (diff)
remove trailing junk from XLSX files, #20337
Diffstat (limited to 'httemplate/graph')
-rw-r--r--httemplate/graph/elements/report.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/graph/elements/report.html b/httemplate/graph/elements/report.html
index 98b477826..b7073db31 100644
--- a/httemplate/graph/elements/report.html
+++ b/httemplate/graph/elements/report.html
@@ -126,8 +126,8 @@ any delimiter and linked from the elements in @data.
% $workbook->close();# or die "Error creating .xls file: $!";
%
% http_header('Content-Length' => length($output) );
-%
-<% $output %>
+% $m->print($output);
+%
% } elsif ( $cgi->param('_type') eq 'png' ) {
% # delete any items that shouldn't be on the graph
% if ( my $no_graph = $opt{'no_graph'} ) {