From efff7dd2a43b604bd883e4e0aca9a74e4bb81222 Mon Sep 17 00:00:00 2001
From: Tobia De Koninck <tobia@ledfan.be>
Date: Tue, 22 Apr 2014 12:46:09 +0200
Subject: [PATCH] Change key to addressbook-key

---
 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 47ade48dcf..4299d88017 100644
--- a/lib/private/contactsmanager.php
+++ b/lib/private/contactsmanager.php
@@ -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);
-- 
GitLab