Remove (most of) error suppression from database drivers (issue #3036)
diff --git a/system/database/drivers/ibase/ibase_result.php b/system/database/drivers/ibase/ibase_result.php
index 1f89db6..cb2c7f4 100644
--- a/system/database/drivers/ibase/ibase_result.php
+++ b/system/database/drivers/ibase/ibase_result.php
@@ -45,7 +45,7 @@
*/
public function num_fields()
{
- return @ibase_num_fields($this->result_id);
+ return ibase_num_fields($this->result_id);
}
// --------------------------------------------------------------------
@@ -103,7 +103,7 @@
*/
public function free_result()
{
- @ibase_free_result($this->result_id);
+ ibase_free_result($this->result_id);
}
// --------------------------------------------------------------------
@@ -117,7 +117,7 @@
*/
protected function _fetch_assoc()
{
- return @ibase_fetch_assoc($this->result_id, IBASE_FETCH_BLOBS);
+ return ibase_fetch_assoc($this->result_id, IBASE_FETCH_BLOBS);
}
// --------------------------------------------------------------------
@@ -132,7 +132,7 @@
*/
protected function _fetch_object($class_name = 'stdClass')
{
- $row = @ibase_fetch_object($this->result_id, IBASE_FETCH_BLOBS);
+ $row = ibase_fetch_object($this->result_id, IBASE_FETCH_BLOBS);
if ($class_name === 'stdClass' OR ! $row)
{