diff options
author | Åsmund Stavdahl <asmund.stavdahl@ntnu.no> | 2021-04-13 16:13:23 +0200 |
---|---|---|
committer | Åsmund Stavdahl <asmund.stavdahl@ntnu.no> | 2021-04-13 16:13:23 +0200 |
commit | e374f7ef18e695d95685749bf1336f46e7d1f87e (patch) | |
tree | 70cbea98dce94f312c44873082b821eea04d8b1e | |
parent | 4ee6ddae660f9ec72c1f6e2ddb72d6b29d6d8900 (diff) | |
download | dokuwiki-e374f7ef18e695d95685749bf1336f46e7d1f87e.tar.gz dokuwiki-e374f7ef18e695d95685749bf1336f46e7d1f87e.zip |
index array with braces rather than unsupported curly braces
-rw-r--r-- | lib/plugins/authad/adLDAP/classes/adLDAPUsers.php | 2 |
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; } |