summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-31 01:46:54 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-31 01:46:54 +0100
commitb5ed8b2751408fd6ce02046aef294d267cd15021 (patch)
tree289fbddf06d27f816363f0f02cb0765e104a40c6 /apps/user_ldap
parentb3b0544e17b172da1ae3760fe5b4e4f90c20b47a (diff)
downloadnextcloud-server-b5ed8b2751408fd6ce02046aef294d267cd15021.tar.gz
nextcloud-server-b5ed8b2751408fd6ce02046aef294d267cd15021.zip
LDAP: fix wrong index
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php
index 9044b395d4e..c5af73857a0 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -365,7 +365,7 @@ ingle parameters
if(strpos($this->config[$classKey], 'opt') === 0) {
$config[$dbKey] = '';
} else {
- $config[$dbKey] = substr($this->config[$dbKey], 5);
+ $config[$dbKey] = substr($this->config[$classKey], 5);
}
continue;
} else if((strpos($classKey, 'ldapBase') !== false)