Remove error suppression usage from db_connect()
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index 1140d50..6a22097 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -139,7 +139,7 @@
public function db_connect($persistent = FALSE)
{
if ($persistent === TRUE
- && ($this->conn_id = @pg_pconnect($this->dsn))
+ && ($this->conn_id = pg_pconnect($this->dsn))
&& pg_connection_status($this->conn_id) === PGSQL_CONNECTION_BAD
&& pg_ping($this->conn_id) === FALSE
)
@@ -148,7 +148,7 @@
}
else
{
- $this->conn_id = @pg_connect($this->dsn);
+ $this->conn_id = pg_connect($this->dsn);
}
if ($this->conn_id && ! empty($this->schema))