From 9295f49553a04f17b58391523317881ad8edba19 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 13 May 2012 23:24:04 +0200 Subject: Contacts: Add error checking and reporting to import from files app. --- apps/contacts/lib/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/contacts/lib') diff --git a/apps/contacts/lib/addressbook.php b/apps/contacts/lib/addressbook.php index 78e94762f2e..79445ceeee1 100755 --- a/apps/contacts/lib/addressbook.php +++ b/apps/contacts/lib/addressbook.php @@ -84,7 +84,7 @@ class OC_Contacts_Addressbook{ * @param string $description * @return insertid */ - public static function add($userid,$name,$description){ + public static function add($userid,$name,$description=''){ $all = self::all($userid); $uris = array(); foreach($all as $i){ -- cgit v1.2.3