summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-30 13:33:59 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-30 13:33:59 +0100
commit84c090162f277ccd47a78886a1c9295add96e752 (patch)
tree35b1624ecfdc9aec4a5da62e0d31762725a0d2f0 /system/database/drivers/pdo
parent279256fabd55b3fac705be8097ee22d54ceaab50 (diff)
Fix a syntax error from last commit
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php b/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php
index 24f64cff5..8abe66e53 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php
@@ -87,7 +87,7 @@ class CI_DB_pdo_pgsql_driver extends CI_DB_pdo_driver {
if ( ! empty($this->username))
{
- $this->dsn .= ';username=$this->username;
+ $this->dsn .= ';username=$this->username';
empty($this->password) OR $this->dsn .= ';password='.$this->password;
}
}