Bug#1147713: Adapt GOsa² files to PHP 8.4: Replace {1} with [1]
Serhii Horichenko
serhii at horichenko.com
Mon Sep 14 15:49:26 BST 2026
Package: src:gosa
Version: 2.8~git20230203.10abe45+dfsg-19
Severity: important
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20260914/991ab796/attachment-0001.htm>
More information about the Debian-edu-pkg-team
mailing list