mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
GNU Patch #135 - Don't export if conv_type=none
This commit is contained in:
parent
5a46e73fef
commit
27f892db9d
@ -168,8 +168,6 @@
|
|||||||
|
|
||||||
if($convert)
|
if($convert)
|
||||||
{
|
{
|
||||||
$buffer = $this->bo->export($conv_type,$cat_id);
|
|
||||||
|
|
||||||
if($conv_type == 'none')
|
if($conv_type == 'none')
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw_info']['flags']['noheader'] = False;
|
$GLOBALS['phpgw_info']['flags']['noheader'] = False;
|
||||||
@ -182,6 +180,8 @@
|
|||||||
$GLOBALS['phpgw']->common->phpgw_exit();
|
$GLOBALS['phpgw']->common->phpgw_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$buffer = $this->bo->export($conv_type,$cat_id);
|
||||||
|
|
||||||
if(($download == 'on') || ($o->type == 'pdb'))
|
if(($download == 'on') || ($o->type == 'pdb'))
|
||||||
{
|
{
|
||||||
// filename, default application/octet-stream, length of file, default nocache True
|
// filename, default application/octet-stream, length of file, default nocache True
|
||||||
|
Loading…
Reference in New Issue
Block a user