diff --git a/lib/private/contactsmanager.php b/lib/private/contactsmanager.php index 47ade48dcf0591ef752feb69d60d664e315a534c..4299d88017a7fa462cd137f3b2fe01681e9befaf 100644 --- a/lib/private/contactsmanager.php +++ b/lib/private/contactsmanager.php @@ -39,7 +39,7 @@ namespace OC { $r = $address_book->search($pattern, $searchProperties, $options); $contacts = array(); foreach($r as $c){ - $c['key'] = $address_book->getKey(); + $c['addressbook-key'] = $address_book->getKey(); $contacts[] = $c; } $result = array_merge($result, $contacts);