aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-09 19:10:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-10 01:24:40 +0200
commit0744e5a17285043b83ef1085d67973e698d14030 (patch)
treed968e4386be8cbff37506379238c75c60d282657
parent7cb74a0bf34494d93a3139992668eaa112a6b825 (diff)
downloadnextcloud-server-0744e5a17285043b83ef1085d67973e698d14030.tar.gz
nextcloud-server-0744e5a17285043b83ef1085d67973e698d14030.zip
Look for the right field :-P
-rw-r--r--apps/contacts/lib/addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/addressbook.php b/apps/contacts/lib/addressbook.php
index 7549464f464..a31ee25461d 100644
--- a/apps/contacts/lib/addressbook.php
+++ b/apps/contacts/lib/addressbook.php
@@ -83,7 +83,7 @@ class OC_Contacts_Addressbook{
$activeaddressbooks = self::all($uid, true);
$ids = array();
foreach($activeaddressbooks as $addressbook) {
- $ids[] = $addressbook['userid'];
+ $ids[] = $addressbook['id'];
}
return $ids;
}