We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a970db commit 11b1598Copy full SHA for 11b1598
lib/Group_LDAP.php
@@ -1010,12 +1010,15 @@ public function getGroupDetails($gid) {
1010
1011
$dn = $this->access->groupname2dn($gid);
1012
if ($dn === false) {
1013
- // FIXME: It seems local groups also end up going through here...
1014
return null;
1015
}
1016
1017
$attr = $this->access->getConnection()->ldapGroupDisplayName;
1018
$displayname = $this->access->readAttribute($dn, $attr);
+ if (!\is_array($displayname)) {
1019
+ // displayname attr not found
1020
+ return null;
1021
+ }
1022
1023
$details = [
1024
'gid' => $gid,
0 commit comments