]> source.dussan.org Git - nextcloud-server.git/commitdiff
Look for the right field :-P
authorThomas Tanghus <thomas@tanghus.net>
Mon, 9 Jul 2012 17:10:34 +0000 (19:10 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 9 Jul 2012 23:24:40 +0000 (01:24 +0200)
apps/contacts/lib/addressbook.php

index 7549464f46484ca0ceec4893e439cb3453543e60..a31ee25461d10302e8aa752b4dd3e48751d59651 100644 (file)
@@ -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;
        }