aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2021-04-16 09:24:34 +0200
committerGitHub <noreply@github.com>2021-04-16 09:24:34 +0200
commitecfa490333e8fa50fa7d1cdbcd9740c6bf26ccfc (patch)
tree6da79158280f498592b3d03aef731a4a54dd831e
parent6cb05674d342c24351edf98467e681cbaabf9d0b (diff)
parente374f7ef18e695d95685749bf1336f46e7d1f87e (diff)
downloaddokuwiki-ecfa490333e8fa50fa7d1cdbcd9740c6bf26ccfc.tar.gz
dokuwiki-ecfa490333e8fa50fa7d1cdbcd9740c6bf26ccfc.zip
Merge pull request #3477 from asmundstavdahl/authad-php8-compat
index array with braces rather than unsupported curly braces
-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;
}