projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fbadb8
)
Properly set file name and extension to addresses list.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 3 Oct 2011 20:03:32 +0000
(22:03 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 3 Oct 2011 20:03:32 +0000
(22:03 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/userset.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/userset.inc.php
b/include/userset.inc.php
index
1ff19ec
..
8dc2794
100644
(file)
--- a/
include/userset.inc.php
+++ b/
include/userset.inc.php
@@
-425,7
+425,7
@@
class AddressesView implements PlView
{
$pids = $this->set->getIds(new PlLimit());
$visibility = Visibility::defaultForRead(Visibility::VIEW_AX);
- pl_cached_content_headers('text/x-csv',
1
);
+ pl_cached_content_headers('text/x-csv',
'utf-8', 1, 'adresses.csv'
);
$csv = fopen('php://output', 'w');
fputcsv($csv, array('adresses'), ';');