diff options
-rw-r--r-- | lib/private/contactsmanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/contactsmanager.php b/lib/private/contactsmanager.php index a7cbba6c639..8cfbb3da9f6 100644 --- a/lib/private/contactsmanager.php +++ b/lib/private/contactsmanager.php @@ -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); |