* 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:37 +00:00
parent f74bd300f4
commit 17249fc30e

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
}