Skip to content

Commit

Permalink
Merge pull request #42 from ste101/patch-1
Browse files Browse the repository at this point in the history
[BUGFIX] undefined array key error
  • Loading branch information
Apen authored Dec 1, 2023
2 parents 79ed656 + 11301cf commit c25851a
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 c25851a

Please sign in to comment.