From 11301cf7970edbc029246ead467d0f39a8a17da7 Mon Sep 17 00:00:00 2001 From: Stephan Bauer Date: Thu, 30 Nov 2023 21:43:29 +0100 Subject: [PATCH] [BUGFIX] undefined array key error --- Classes/Reports/Status.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Reports/Status.php b/Classes/Reports/Status.php index 9dd071b..2a98893 100644 --- a/Classes/Reports/Status.php +++ b/Classes/Reports/Status.php @@ -180,8 +180,8 @@ public function displayMySql(AbstractTemplateView $view) ->execute() ->fetchAll(); - $data['default_character_set_name'] = $items[0]['default_character_set_name']; - $data['default_collation_name'] = $items[0]['default_collation_name']; + $data['default_character_set_name'] = $items[0]['default_character_set_name'] ?? ''; + $data['default_collation_name'] = $items[0]['default_collation_name'] ?? ''; $data['query_cache'] = Utility::getMySqlCacheInformations(); $data['character_set'] = Utility::getMySqlCharacterSet();