Change key to addressbook-key

This commit is contained in:
Tobia De Koninck 2014-04-22 12:46:09 +02:00
parent b78c1373b6
commit efff7dd2a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);