From b5ed8b2751408fd6ce02046aef294d267cd15021 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 31 Jan 2013 01:46:54 +0100 Subject: [PATCH] LDAP: fix wrong index --- apps/user_ldap/lib/connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5