summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-30 21:26:14 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-30 21:26:14 +0100
commit76160bc9ea5f0f4c653300231e34faa445342d83 (patch)
treee60de73f4b4860bd3f17b26f2620923ec6207e2b /system/database/drivers
parent84c090162f277ccd47a78886a1c9295add96e752 (diff)
Previous 2 commits were just dumb
Diffstat (limited to 'system/database/drivers')
-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 8abe66e53..507abda51 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;
}
}