From 0744e5a17285043b83ef1085d67973e698d14030 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 9 Jul 2012 19:10:34 +0200 Subject: [PATCH] Look for the right field :-P --- apps/contacts/lib/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/lib/addressbook.php b/apps/contacts/lib/addressbook.php index 7549464f46..a31ee25461 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; }