diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-13 23:24:04 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-13 23:27:14 +0200 |
commit | 9295f49553a04f17b58391523317881ad8edba19 (patch) | |
tree | 88b337b7eeeeda4c0ed9df8e80432593b7610eb4 /apps/contacts/lib | |
parent | 1629c77eb5737ade319801c7ed8fba7b75d0a2bf (diff) | |
download | nextcloud-server-9295f49553a04f17b58391523317881ad8edba19.tar.gz nextcloud-server-9295f49553a04f17b58391523317881ad8edba19.zip |
Contacts: Add error checking and reporting to import from files app.
Diffstat (limited to 'apps/contacts/lib')
-rwxr-xr-x | apps/contacts/lib/addressbook.php | 2 |
1 files changed, 1 insertions, 1 deletions
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){ |