]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix changed variable name
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 1 Oct 2014 19:44:36 +0000 (21:44 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 1 Oct 2014 19:44:36 +0000 (21:44 +0200)
apps/user_ldap/group_ldap.php

index f225ed6651e0d423adcb1b48c2db472cd74b8d67..b8ca041bce328e3746abbecb3d9ac4d2adef32ae 100644 (file)
@@ -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;
                }