Merge pull request #3477 from asmundstavdahl/authad-php8-compat
index array with braces rather than unsupported curly braces
This commit is contained in:
commit
ecfa490333
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue