]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change key to addressbook-key
authorTobia De Koninck <tobia@ledfan.be>
Tue, 22 Apr 2014 10:46:09 +0000 (12:46 +0200)
committerTobia De Koninck <tobia@ledfan.be>
Tue, 22 Apr 2014 10:46:09 +0000 (12:46 +0200)
lib/private/contactsmanager.php

index 47ade48dcf0591ef752feb69d60d664e315a534c..4299d88017a7fa462cd137f3b2fe01681e9befaf 100644 (file)
@@ -39,7 +39,7 @@ namespace OC {
                                $r = $address_book->search($pattern, $searchProperties, $options);
                                $contacts = array();
                                foreach($r as $c){
-                                       $c['key'] = $address_book->getKey();
+                                       $c['addressbook-key'] = $address_book->getKey();
                                        $contacts[] = $c;
                                }
                                $result = array_merge($result, $contacts);