summaryrefslogtreecommitdiffstats
path: root/lib/private/contactsmanager.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-26 11:15:09 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-26 11:15:09 +0200
commit7c0370105af504e31fa2d6be088273a3bba7262f (patch)
treeec12a74fae9b3c25ca5d90213db4fe5402b0bad3 /lib/private/contactsmanager.php
parentfc9371ae1099999a5d5bbda0fe1c143dd6790831 (diff)
downloadnextcloud-server-7c0370105af504e31fa2d6be088273a3bba7262f.tar.gz
nextcloud-server-7c0370105af504e31fa2d6be088273a3bba7262f.zip
Fix wrong var name
Diffstat (limited to 'lib/private/contactsmanager.php')
-rw-r--r--lib/private/contactsmanager.php2
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);