GNU Patch #135 - Don't export if conv_type=none

This commit is contained in:
Miles Lott 2002-02-14 02:39:51 +00:00
parent 5a46e73fef
commit 27f892db9d

View File

@ -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