phpLDAPadmin icon indicating copy to clipboard operation
phpLDAPadmin copied to clipboard

*Deprecated*: Array and string offset access syntax with curly braces is deprecated in */usr/share/phpldapadmin/lib/functions.php* on line *1614

Open marcovanbeek opened this issue 3 years ago • 0 comments

Hi,

Looks like PHP 7.4 has an issue with some code. It looks like all it needs is for a couple of curly brackets to be changed to square ones:

Old line 1614 '$' == $rdn{ strlen($rdn) - 1 }) New line 1614 '$' == $rdn[ strlen($rdn) - 1 ])

I think that is all it is, but it only seems to comes up on the first login after the upgrade, so hard to troubleshoot.

marcovanbeek avatar Jan 17 '22 18:01 marcovanbeek