summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-01 21:44:36 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-10-01 21:44:36 +0200
commit3b3ad0bc4f745c8cdef5354a8661529f831bcd67 (patch)
tree4a77d0916e33e26ef99a58bd3e86ab83efe344c6 /apps/user_ldap/group_ldap.php
parent4ed926b954ba30c81c48b87eff04789dc205dd5d (diff)
downloadnextcloud-server-3b3ad0bc4f745c8cdef5354a8661529f831bcd67.tar.gz
nextcloud-server-3b3ad0bc4f745c8cdef5354a8661529f831bcd67.zip
fix changed variable name
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r--apps/user_ldap/group_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index f225ed6651e..b8ca041bce3 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -63,7 +63,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
$userDN = $this->access->username2dn($uid);
if(isset($this->cachedGroupMembers[$gid])) {
- $isInGroup = in_array($userDN, $this->groupMembers[$gid]);
+ $isInGroup = in_array($userDN, $this->cachedGroupMembers[$gid]);
return $isInGroup;
}