Skip to content

Commit

Permalink
Merge pull request #13186 from labor4/edit_carddav_types
Browse files Browse the repository at this point in the history
add carddav-search (vCard2Array) option for X-ADDRESSBOOKSERVER-MEMBER
  • Loading branch information
MorrisJobke committed Jul 2, 2019
2 parents 85f371a + ee0e1c4 commit 1a63858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/AddressBookImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ protected function vCard2Array($uri, VCard $vCard, $withTypes = false) {
}

// The following properties can be set multiple times
} else if (in_array($property->name, ['CLOUD', 'EMAIL', 'IMPP', 'TEL', 'URL'])) {
} else if (in_array($property->name, ['CLOUD', 'EMAIL', 'IMPP', 'TEL', 'URL', 'X-ADDRESSBOOKSERVER-MEMBER'])) {
if (!isset($result[$property->name])) {
$result[$property->name] = [];
}
Expand Down

0 comments on commit 1a63858

Please sign in to comment.