summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-12-14 17:06:49 +0100
committerAndrey Andreev <narf@devilix.net>2015-12-14 17:06:49 +0100
commitf437fd20a78b9f28405d1ebba5f7ed53b1a33545 (patch)
tree84d0d9da565df9bb19694c5f81fbcc195ebd1f79 /system/database/drivers/mysqli
parentd3c8134b1342dc403df2faf3e63e4bdcdfbd4b92 (diff)
Fix erroneous variables from 85bc9fc53e4c3e46b2f4e1b1eac7e2828d4869e6
Diffstat (limited to 'system/database/drivers/mysqli')
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index f9a20ea2f..847544780 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -177,7 +177,7 @@ class CI_DB_mysqli_driver extends CI_DB {
{
log_message('error', "Database: Unable to set the configured connection charset ('{$this->char_set}').");
$mysqli->close();
- return ($this->db->db_debug) ? $this->display_error('db_unable_to_set_charset', $charset) : FALSE;
+ return ($this->db->db_debug) ? $this->display_error('db_unable_to_set_charset', $this->char_set) : FALSE;
}
return $mysqli;