fix PHP 8.0 error: Undefined constant "__ALL__"

This commit is contained in:
Ralf Becker 2021-11-08 11:25:42 +01:00
parent a7796d8f27
commit 7792c706a6

View File

@ -291,7 +291,7 @@ class admin_config
// make everything readonly and remove save/apply button, if user has not rights to store config // make everything readonly and remove save/apply button, if user has not rights to store config
if ($GLOBALS['egw']->acl->check('site_config_acce',2,'admin')) if ($GLOBALS['egw']->acl->check('site_config_acce',2,'admin'))
{ {
$readonlys[__ALL__] = true; $readonlys['__ALL__'] = true;
$readonlys['cancel'] = false; $readonlys['cancel'] = false;
} }