mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02: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)
|
function import($tsvfile,$conv_type,$private,$fcat_id)
|
||||||
{
|
{
|
||||||
|
if($conv_type == 'none')
|
||||||
|
{
|
||||||
|
return False;
|
||||||
|
}
|
||||||
include(PHPGW_APP_INC . '/import/' . $conv_type);
|
include(PHPGW_APP_INC . '/import/' . $conv_type);
|
||||||
|
|
||||||
if($private == '')
|
if($private == '')
|
||||||
@ -267,7 +271,12 @@
|
|||||||
|
|
||||||
function export($conv_type,$cat_id='')
|
function export($conv_type,$cat_id='')
|
||||||
{
|
{
|
||||||
|
if($conv_type == 'none')
|
||||||
|
{
|
||||||
|
return False;
|
||||||
|
}
|
||||||
include(PHPGW_APP_INC . '/export/' . $conv_type);
|
include(PHPGW_APP_INC . '/export/' . $conv_type);
|
||||||
|
|
||||||
$buffer = array();
|
$buffer = array();
|
||||||
$contacts = new export_conv;
|
$contacts = new export_conv;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user