fix und PHP 8 no longer supported curly braces for array/string indexes

This commit is contained in:
Ralf Becker 2021-04-07 09:55:11 +02:00
parent 9e3ce0db2b
commit 102a790c44

View File

@ -217,5 +217,5 @@ function ldap_search_filter(&$settings)
{
$filter =& $settings['ldap_search_filter'];
if ($filter && $filter{0} != '(') $filter = '('.$filter.')';
if ($filter && $filter[0] != '(') $filter = '('.$filter.')';
}