forked from extern/egroupware
"fix for using GroupDAV with LDAP as addressbook backend"
This commit is contained in:
parent
195e55bee8
commit
02edb9ec96
@ -324,7 +324,7 @@ class addressbook_groupdav extends groupdav_handler
|
||||
*/
|
||||
function read($id)
|
||||
{
|
||||
return $this->bo->read(is_numeric($id) ? $id : array('uid' => $id));
|
||||
return $this->bo->read(self::PATH_ATTRIBUTE == 'id' ? $id : array(self::PATH_ATTRIBUTE => $id));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -338,4 +338,4 @@ class addressbook_groupdav extends groupdav_handler
|
||||
{
|
||||
return $this->bo->check_perms($acl,$contact);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user