1
0
Mirror von https://github.com/nextcloud/server.git synchronisiert 2024-07-26 06:14:59 +02:00

Add key to every contact

Dieser Commit ist enthalten in:
LEDfan 2014-04-18 14:30:44 +02:00
Ursprung d23c4697d0
Commit b78c1373b6

Datei anzeigen

@ -37,7 +37,12 @@ namespace OC {
$result = array();
foreach($this->address_books as $address_book) {
$r = $address_book->search($pattern, $searchProperties, $options);
$result = array_merge($result, $r);
$contacts = array();
foreach($r as $c){
$c['key'] = $address_book->getKey();
$contacts[] = $c;
}
$result = array_merge($result, $contacts);
}
return $result;