diff --git a/addressbook/inc/class.uiXport.inc.php b/addressbook/inc/class.uiXport.inc.php index 7317f4bad6..aa87a7259a 100644 --- a/addressbook/inc/class.uiXport.inc.php +++ b/addressbook/inc/class.uiXport.inc.php @@ -75,7 +75,7 @@ { 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'] == '') { diff --git a/addressbook/inc/import/Import_Multiple_VCard b/addressbook/inc/import/Import_Multiple_VCard index ff4d622f9c..4ba9e6eec1 100644 --- a/addressbook/inc/import/Import_Multiple_VCard +++ b/addressbook/inc/import/Import_Multiple_VCard @@ -81,7 +81,7 @@ $this->contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry,$access,$cat_id); } $num = $i - 1; - return lang('Successfully imported x records into your addressbook.',$num); + return lang('Successfully imported %1 records into your addressbook.',$num); } } ?>