summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 14:40:13 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 14:40:35 -0700
commitcda0cfbe3c69fa260ba7e5ce9b50853dfba7cc97 (patch)
tree1a1023c6affeb9c8b85acc6afde130d393555cc9 /httemplate/search
parent9c0ba3e16a066851dec5488b4a95565e271ae325 (diff)
add delivery of spreadsheet/CSV reports, #72101
Diffstat (limited to 'httemplate/search')
-rw-r--r--httemplate/search/elements/search-xls.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/search-xls.html b/httemplate/search/elements/search-xls.html
index c4265e8c8..f2b0bad50 100644
--- a/httemplate/search/elements/search-xls.html
+++ b/httemplate/search/elements/search-xls.html
@@ -22,7 +22,7 @@ http_header('Content-Disposition' => qq!attachment;filename="$filename"! );
#http://support.microsoft.com/kb/812935
#http://support.microsoft.com/kb/323308
-$HTML::Mason::Commands::r->headers_out->{'Cache-control'} = 'max-age=0';
+http_header('Cache-control' => 'max-age=0');
my $data = '';
my $XLS = new IO::Scalar \$data;