summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-25 22:44:46 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-25 22:44:46 +0200
commitd3809277ac0d37caaf5a1a4c6332fe69edb34c25 (patch)
tree4f44908052bed26a905f61a3da62e37866827361 /system
parent092b42b1192150288ab5f91a3cef24b1e145bd7c (diff)
Fix an erroneous property name
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
index 1898231f8..cb0dbf01d 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
@@ -94,7 +94,7 @@ class CI_DB_pdo_mysql_driver extends CI_DB_pdo_driver {
if ( ! is_php('5.3.6') && ! empty($this->char_set))
{
$this->options[PDO::MYSQL_ATTR_INIT_COMMAND] = 'SET NAMES '.$this->char_set
- .(empty($this->db_collat) ? '' : " COLLATE '".$this->dbcollat."'");
+ .(empty($this->dbcollat) ? '' : ' COLLATE '.$this->dbcollat);
}
return parent::db_connect($persistent);