* CardDAV/Addressbook/Preferences: accounts, primary group, all, ... were not selectable in personal preferences

This commit is contained in:
Ralf Becker 2014-09-18 09:05:06 +00:00
parent cf3f99c260
commit 40da5672bb

View File

@ -1083,7 +1083,7 @@ class addressbook_groupdav extends groupdav_handler
{
$user = $hook_data['account_id'];
$addressbook_bo = new addressbook_bo();
$addressbooks = $addressbook_bo->get_addressbooks(EGW_ACL_READ, null, $user);
$addressbooks += $addressbook_bo->get_addressbooks(EGW_ACL_READ, null, $user);
if ($user > 0) unset($addressbooks[$user]); // allways synced
unset($addressbooks[$user.'p']);// ignore (optional) private addressbook for now
}