From a98fdbaa0686f62066b1391ff9c181f74fcf6bc8 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 12 Oct 2003 08:14:35 +0000 Subject: [PATCH] fixed VCard import --- addressbook/inc/class.uiXport.inc.php | 2 +- addressbook/inc/import/Import_Multiple_VCard | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } ?>