LdapUserGroupBackend: Avoid inspecting a group with no members

fixes #10659
This commit is contained in:
Johannes Meyer 2015-11-24 09:45:36 +01:00
parent 614d7fc30d
commit 916c417666
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt
$sampleValue = $this->ds
->select()
->from($this->groupClass, array($this->groupMemberAttribute))
->where($this->groupMemberAttribute, '*')
->setUnfoldAttribute($this->groupMemberAttribute)
->setBase($this->groupBaseDn)
->fetchOne();