Remove error-masking '@' in mysqli_driver (See: https://github.com/EllisLab/CodeIgniter/issues/3036)
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index c5565f6..09277fc 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -144,7 +144,7 @@
$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 @@
*/
protected function _execute($sql)
{
- return @$this->conn_id->query($this->_prep_query($sql));
+ return $this->conn_id->query($this->_prep_query($sql));
}
// --------------------------------------------------------------------