fixed VCard import

This commit is contained in:
Lars Kneschke 2003-10-12 08:14:35 +00:00
parent 73d8277b40
commit a98fdbaa06
2 changed files with 2 additions and 2 deletions

View File

@ -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'] == '')
{ {

View File

@ -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);
} }
} }
?> ?>