]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix wrong var name
authorBart Visscher <bartv@thisnet.nl>
Sat, 26 Apr 2014 09:15:09 +0000 (11:15 +0200)
committerBart Visscher <bartv@thisnet.nl>
Sat, 26 Apr 2014 09:15:09 +0000 (11:15 +0200)
lib/private/contactsmanager.php

index a7cbba6c6394feac167a71c72c76de377c768fd5..8cfbb3da9f646afcce2ff5aee1724d73ecaaa170 100644 (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);