From 7c0370105af504e31fa2d6be088273a3bba7262f Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sat, 26 Apr 2014 11:15:09 +0200 Subject: [PATCH] Fix wrong var name --- lib/private/contactsmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5