index array with braces rather than unsupported curly braces

This commit is contained in:
Åsmund Stavdahl 2021-04-13 16:13:23 +02:00
parent 4ee6ddae66
commit e374f7ef18
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}