forked from extern/egroupware
fix PHP 8.x Fatal changing languages
This commit is contained in:
parent
5320e05182
commit
9188b04256
@ -44,7 +44,7 @@ class admin_messages
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$button = @key($content['button']);
|
$button = key($content['button'] ?? []);
|
||||||
|
|
||||||
if ($button)
|
if ($button)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user