diff --git a/addressbook/inc/class.boXport.inc.php b/addressbook/inc/class.boXport.inc.php index 6a11595fab..43034fdf3e 100644 --- a/addressbook/inc/class.boXport.inc.php +++ b/addressbook/inc/class.boXport.inc.php @@ -118,6 +118,10 @@ function import($tsvfile,$conv_type,$private,$fcat_id) { + if($conv_type == 'none') + { + return False; + } include(PHPGW_APP_INC . '/import/' . $conv_type); if($private == '') @@ -267,7 +271,12 @@ function export($conv_type,$cat_id='') { + if($conv_type == 'none') + { + return False; + } include(PHPGW_APP_INC . '/export/' . $conv_type); + $buffer = array(); $contacts = new export_conv;