Fix wrong var name

This commit is contained in:
Bart Visscher 2014-04-26 11:15:09 +02:00
parent fc9371ae10
commit 7c0370105a

View File

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