mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
Added return if conversion type not set
This commit is contained in:
parent
a3b9c7ef93
commit
63dde626aa
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user