summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-25 14:26:20 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-25 14:26:20 +0100
commitf2818bd9b9be242a1c53ee839a95962a682a2e93 (patch)
tree4443fce56188c3df726717102e5f62a920fb3e3e /system/database/drivers/pdo
parent2e171023bae38735ec08bbd9cb160cee75edbc62 (diff)
Remove error suppression usage from db_connect()
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r--system/database/drivers/pdo/pdo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php
index 01731489f..1d4e626d4 100644
--- a/system/database/drivers/pdo/pdo_driver.php
+++ b/system/database/drivers/pdo/pdo_driver.php
@@ -119,7 +119,7 @@ class CI_DB_pdo_driver extends CI_DB {
try
{
- return @new PDO($this->dsn, $this->username, $this->password, $this->options);
+ return new PDO($this->dsn, $this->username, $this->password, $this->options);
}
catch (PDOException $e)
{