Skip to content
Snippets Groups Projects
Commit efff7dd2 authored by Tobia De Koninck's avatar Tobia De Koninck
Browse files

Change key to addressbook-key

parent b78c1373
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ namespace OC { ...@@ -39,7 +39,7 @@ namespace OC {
$r = $address_book->search($pattern, $searchProperties, $options); $r = $address_book->search($pattern, $searchProperties, $options);
$contacts = array(); $contacts = array();
foreach($r as $c){ foreach($r as $c){
$c['key'] = $address_book->getKey(); $c['addressbook-key'] = $address_book->getKey();
$contacts[] = $c; $contacts[] = $c;
} }
$result = array_merge($result, $contacts); $result = array_merge($result, $contacts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment