From d3ddf9763aba68eed1bce7dde275b9be253efcc0 Mon Sep 17 00:00:00 2001 From: mdunisch Date: Wed, 7 May 2014 15:00:40 +0200 Subject: Remove error-masking '@' in mysqli_driver (See: https://github.com/EllisLab/CodeIgniter/issues/3036) --- system/database/drivers/mysqli/mysqli_driver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/database/drivers/mysqli/mysqli_driver.php') diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index c5565f629..09277fc39 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -144,7 +144,7 @@ class CI_DB_mysqli_driver extends CI_DB { $database = $this->database; } - if (@$this->conn_id->select_db($database)) + if ($this->conn_id->select_db($database)) { $this->database = $database; return TRUE; @@ -197,7 +197,7 @@ class CI_DB_mysqli_driver extends CI_DB { */ protected function _execute($sql) { - return @$this->conn_id->query($this->_prep_query($sql)); + return $this->conn_id->query($this->_prep_query($sql)); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b