Skip to content

Commit 6d911eb

Browse files
authored
Merge pull request #2558 from jreklund/mysqli-connection-debug
MySQLi: Incorrect DBDebug flag used for connection charset
2 parents 8d92dd0 + ab86385 commit 6d911eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/MySQLi/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function connect(bool $persistent = false)
203203
"Database: Unable to set the configured connection charset ('{$this->charset}').");
204204
$this->mysqli->close();
205205

206-
if ($this->db->debug)
206+
if ($this->DBDebug)
207207
{
208208
throw new DatabaseException('Unable to set client connection character set: ' . $this->charset);
209209
}

0 commit comments

Comments
 (0)