Skip to content

Commit

Permalink
[BUGFIX] undefined array key error
Browse files Browse the repository at this point in the history
  • Loading branch information
ste101 authored Nov 30, 2023
1 parent 79ed656 commit 11301cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Reports/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 11301cf

Please sign in to comment.