Change key to addressbook-key
This commit is contained in:
parent
b78c1373b6
commit
efff7dd2a4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue