fix PHP 8.x Fatal changing languages

This commit is contained in:
ralf 2022-11-11 13:28:20 +01:00
parent f40d854592
commit 53fe8a730e

View File

@ -44,7 +44,7 @@ class admin_messages
}
else
{
$button = @key($content['button']);
$button = key($content['button'] ?? []);
if ($button)
{