diff options
author | Mark Wells <mark@freeside.biz> | 2016-09-08 14:40:13 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-09-08 14:40:13 -0700 |
commit | ac541a006ca3b90039d21dca39c76cee34092553 (patch) | |
tree | f613218b387e78bf78ae2f2161fbb28e27cf8ee3 /httemplate/search/elements | |
parent | 88904ee5a5529f7e80811f1e68216c92b028e7e9 (diff) |
add delivery of spreadsheet/CSV reports, #72101
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r-- | httemplate/search/elements/search-xls.html | 2 |
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; |