forked from extern/egroupware
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)
|
||||
{
|
||||
$buffer = $this->bo->export($conv_type,$cat_id);
|
||||
|
||||
if($conv_type == 'none')
|
||||
{
|
||||
$GLOBALS['phpgw_info']['flags']['noheader'] = False;
|
||||
@ -182,6 +180,8 @@
|
||||
$GLOBALS['phpgw']->common->phpgw_exit();
|
||||
}
|
||||
|
||||
$buffer = $this->bo->export($conv_type,$cat_id);
|
||||
|
||||
if(($download == 'on') || ($o->type == 'pdb'))
|
||||
{
|
||||
// filename, default application/octet-stream, length of file, default nocache True
|
||||
|
Loading…
Reference in New Issue
Block a user