]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: fix wrong index
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 31 Jan 2013 00:46:54 +0000 (01:46 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 31 Jan 2013 00:46:54 +0000 (01:46 +0100)
apps/user_ldap/lib/connection.php

index 9044b395d4e61ffe02289e390db86ceccebff747..c5af73857a02db4faca55a01bf614d22dc8a4566 100644 (file)
@@ -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)