Skip to content

Commit

Permalink
Fix coding standard issue
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Dec 22, 2019
1 parent 2bce840 commit 07a2715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Charsets.php
Expand Up @@ -156,7 +156,7 @@ public static function getServerCharset(DatabaseInterface $dbi, bool $disableIs)
self::loadCharsets($dbi, $disableIs);
$serverCharset = $dbi->getVariable('character_set_server');
if (! is_string($serverCharset)) {// MySQL 5.7.8 fallback, issue #15614
$serverCharset = $dbi->fetchValue("SELECT @@character_set_server;");
$serverCharset = $dbi->fetchValue('SELECT @@character_set_server;');
}
self::$serverCharset = self::$charsets[$serverCharset];
return self::$serverCharset;
Expand Down

0 comments on commit 07a2715

Please sign in to comment.