From 265db8944813a9474716661d3aebb3eabec76e72 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 26 Apr 2024 13:17:18 -0500 Subject: [PATCH] Fix typo in DB constructor --- lib/DbConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DbConnection.php b/lib/DbConnection.php index 903055b8..5d9adfed 100644 --- a/lib/DbConnection.php +++ b/lib/DbConnection.php @@ -8,7 +8,7 @@ class DbConnection{ public int $QueryCount = 0; public int $LastQueryAffectedRowCount = 0; - public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string$password = '', bool $forceUtf8 = true, bool $require = true){ + public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string $password = '', bool $forceUtf8 = true, bool $require = true){ if($user === null){ // Get the user running the script for local socket login $user = posix_getpwuid(posix_geteuid());