mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Check if cache is present with isset
Otherwise we get false for empty array Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
1a6a6c985a
commit
60ec5e655c
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I
|
|||
}
|
||||
$seen[$dn] = true;
|
||||
|
||||
if ($this->cachedGroupsByMember[$dn]) {
|
||||
if (isset($this->cachedGroupsByMember[$dn])) {
|
||||
return $this->cachedGroupsByMember[$dn];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue