summaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/addressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/lib/addressbook.php')
-rw-r--r--[-rwxr-xr-x]apps/contacts/lib/addressbook.php2
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..100644
--- 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){