diff --git a/addressbook/inc/class.uiXport.inc.php b/addressbook/inc/class.uiXport.inc.php index f6bd89af96..9a18baee0c 100644 --- a/addressbook/inc/class.uiXport.inc.php +++ b/addressbook/inc/class.uiXport.inc.php @@ -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