#1147713 Adapt GOsa² files to PHP 8.4: Replace {1} with [1]

#1147713#5
Date:
2026-09-14 14:49:26 UTC
From:
To:
Environment:
- Server Debian Edu 13.7 server with only role "Main-server"
- Workstation installed with PXE from server above
- GUI logon as root
- Firefox with default page `https://www/index.html.en`
<https://www/index.html.en>

Trying to open `GOsa2 LDAP administration` from the menu on the right side
opens webpage of GOsa² `https://www/gosa/` with the following error:

Parse error: syntax error, unexpected token "{", expecting ")" in
/usr/share/gosa/include/class_userinfo.inc on line 224


Fast fix on server:
// old        if(isset($acl_set['filter']{1})){
// new
            if(isset($acl_set['filter'][1])){



Sincerely,
Serhii Horichenko