Skip to content

Commit

Permalink
Update lib/private/DB/ConnectionFactory.php
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Nils <github@nospm.xyz>
  • Loading branch information
Delogon and kesselb committed Dec 31, 2024
1 parent 7b326cd commit 8de55c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/DB/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function createConnectionParams(string $configPrefix = '', array $additio
'tablePrefix' => $connectionParams['tablePrefix']
];

if ($this->config->getValue('mysql.utf8mb4', false) && $type==="mysql") {
if ($this->config->getValue('mysql.utf8mb4', false) && $type === 'mysql') {
$connectionParams['defaultTableOptions'] = [
'collate' => 'utf8mb4_bin',
'charset' => 'utf8mb4',
Expand Down

0 comments on commit 8de55c6

Please sign in to comment.