Skip to content

Commit

Permalink
fix: wrong variable name for dbname in sqlsrv
Browse files Browse the repository at this point in the history
mieszkou committed Sep 24, 2024
1 parent 66abb39 commit 332949f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Db/Core.php
Original file line number Diff line number Diff line change
@@ -196,7 +196,7 @@ protected function dsn(): string
if ($this->config('port')) {
$dsn .= "," . $this->config('port');
}
$dsn .= ";Database=" . $this->config('database');
$dsn .= ";Database=" . $this->config('dbname');
} else {
$dsn = "$dbtype:host=$host";

0 comments on commit 332949f

Please sign in to comment.