Remove (most of) error suppression from database drivers (issue #3036)
diff --git a/system/database/drivers/odbc/odbc_result.php b/system/database/drivers/odbc/odbc_result.php
index 5b2df39..3a101cd 100644
--- a/system/database/drivers/odbc/odbc_result.php
+++ b/system/database/drivers/odbc/odbc_result.php
@@ -49,7 +49,7 @@
{
return $this->num_rows;
}
- elseif (($this->num_rows = @odbc_num_rows($this->result_id)) !== -1)
+ elseif (($this->num_rows = odbc_num_rows($this->result_id)) !== -1)
{
return $this->num_rows;
}
@@ -76,7 +76,7 @@
*/
public function num_fields()
{
- return @odbc_num_fields($this->result_id);
+ return odbc_num_fields($this->result_id);
}
// --------------------------------------------------------------------