LdapUserGroupBackend: Avoid inspecting a group with no members
fixes #10659
This commit is contained in:
parent
614d7fc30d
commit
916c417666
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue