Fix wrong global var name

Introduced by 437215cab2

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2023-03-26 23:14:41 -03:00
parent e5698c85e9
commit fbbbebf6e2
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 1 additions and 2 deletions

View File

@ -417,7 +417,7 @@ class Config
private function setConnectionCollation(): void
{
$collationConnection = $this->get('DefaultConnectionCollation');
if (empty($collationConnection) || $collationConnection == $GLOBALS['collationConnection']) {
if (empty($collationConnection) || $collationConnection == $GLOBALS['collation_connection']) {
return;
}

View File

@ -263,7 +263,6 @@
<code><![CDATA[$GLOBALS['cfg']['Server']['controlport']]]></code>
<code><![CDATA[$GLOBALS['cfg']['Server']['controluser']]]></code>
<code><![CDATA[$GLOBALS['cfg']['Server']['hide_connection_errors']]]></code>
<code><![CDATA[$GLOBALS['collationConnection']]]></code>
</InvalidArrayOffset>
<MixedArgument>
<code>$collationConnection</code>