aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/authad/adLDAP
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/authad/adLDAP')
-rw-r--r--lib/plugins/authad/adLDAP/classes/adLDAPUsers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/authad/adLDAP/classes/adLDAPUsers.php b/lib/plugins/authad/adLDAP/classes/adLDAPUsers.php
index 3b93de07c..d750f1088 100644
--- a/lib/plugins/authad/adLDAP/classes/adLDAPUsers.php
+++ b/lib/plugins/authad/adLDAP/classes/adLDAPUsers.php
@@ -519,7 +519,7 @@ class adLDAPUsers {
{
$password="\"".$password."\"";
$encoded="";
- for ($i=0; $i <strlen($password); $i++){ $encoded.="{$password{$i}}\000"; }
+ for ($i=0; $i <strlen($password); $i++){ $encoded.="{$password[$i]}\000"; }
return $encoded;
}