mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:25:22 +01:00
fixed VCard import
This commit is contained in:
parent
73d8277b40
commit
a98fdbaa06
@ -75,7 +75,7 @@
|
|||||||
{
|
{
|
||||||
if ($_POST['convert'])
|
if ($_POST['convert'])
|
||||||
{
|
{
|
||||||
$buffer = $this->bo->import($tsvfile,$_POST['conv_type'],$_POST['private'],$_POST['fcat_id']);
|
$buffer = $this->bo->import($_FILES['tsvfile']['tmp_name'],$_POST['conv_type'],$_POST['private'],$_POST['fcat_id']);
|
||||||
|
|
||||||
if ($_POST['download'] == '')
|
if ($_POST['download'] == '')
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
$this->contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry,$access,$cat_id);
|
$this->contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry,$access,$cat_id);
|
||||||
}
|
}
|
||||||
$num = $i - 1;
|
$num = $i - 1;
|
||||||
return lang('Successfully imported x records into your addressbook.',$num);
|
return lang('Successfully imported %1 records into your addressbook.',$num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user