mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
part of GNU patch#136, and more
This commit is contained in:
parent
068b4bc3c1
commit
9567e30ea4
@ -182,11 +182,12 @@
|
||||
|
||||
$buffer = $this->bo->export($conv_type,$cat_id);
|
||||
|
||||
if(($download == 'on') || ($o->type == 'pdb'))
|
||||
if(($download == 'on') || ($conv_type == 'Palm_PDB'))
|
||||
{
|
||||
// filename, default application/octet-stream, length of file, default nocache True
|
||||
$this->browser->content_header($tsvfilename,'application/octet-stream',strlen($buffer));
|
||||
$this->browser->content_header($tsvfilename,'application/x-octet-stream',strlen($buffer));
|
||||
echo $buffer;
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user