Skip to content

Commit fbbbebf

Browse files
committed
Fix wrong global var name
Introduced by 437215c Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent e5698c8 commit fbbbebf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libraries/classes/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ public function load(string|null $source = null): bool
417417
private function setConnectionCollation(): void
418418
{
419419
$collationConnection = $this->get('DefaultConnectionCollation');
420-
if (empty($collationConnection) || $collationConnection == $GLOBALS['collationConnection']) {
420+
if (empty($collationConnection) || $collationConnection == $GLOBALS['collation_connection']) {
421421
return;
422422
}
423423

psalm-baseline.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@
263263
<code><![CDATA[$GLOBALS['cfg']['Server']['controlport']]]></code>
264264
<code><![CDATA[$GLOBALS['cfg']['Server']['controluser']]]></code>
265265
<code><![CDATA[$GLOBALS['cfg']['Server']['hide_connection_errors']]]></code>
266-
<code><![CDATA[$GLOBALS['collationConnection']]]></code>
267266
</InvalidArrayOffset>
268267
<MixedArgument>
269268
<code>$collationConnection</code>

0 commit comments

Comments
 (0)