diff options
author | Jakob Sack <mail@jakobsack.de> | 2011-09-08 23:36:47 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2011-09-08 23:36:47 +0200 |
commit | 5fed5bab4a45038f0b1b250170782d3e95b37abd (patch) | |
tree | 79ca6e5f6d3c3eb027fb0a1b2b96c571057bb232 /apps/contacts/index.php | |
parent | 74f6dd5d5a40596c5e900640852d46f79a4925ae (diff) | |
download | nextcloud-server-5fed5bab4a45038f0b1b250170782d3e95b37abd.tar.gz nextcloud-server-5fed5bab4a45038f0b1b250170782d3e95b37abd.zip |
Improving contacts
Diffstat (limited to 'apps/contacts/index.php')
-rw-r--r-- | apps/contacts/index.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php index 0d4ff83ef81..a8926cd96fd 100644 --- a/apps/contacts/index.php +++ b/apps/contacts/index.php @@ -60,6 +60,9 @@ $contacts = array(); foreach( $openaddressbooks as $addressbook ){ $addressbookcontacts = OC_Contacts_Addressbook::allCards($addressbook); foreach( $addressbookcontacts as $contact ){ + if(is_null($contact['fullname'])){ + continue; + } $contacts[] = array( 'name' => $contact['fullname'], 'id' => $contact['id'] ); } } |