projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cust_main fields only
[freeside.git]
/
httemplate
/
search
/
elements
/
search-xls.html
diff --git
a/httemplate/search/elements/search-xls.html
b/httemplate/search/elements/search-xls.html
index
c4265e8
..
f2b0bad
100644
(file)
--- 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;