summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_result.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/odbc/odbc_result.php')
-rw-r--r--system/database/drivers/odbc/odbc_result.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_result.php b/system/database/drivers/odbc/odbc_result.php
index 5b2df3943..3a101cd7e 100644
--- a/system/database/drivers/odbc/odbc_result.php
+++ b/system/database/drivers/odbc/odbc_result.php
@@ -49,7 +49,7 @@ class CI_DB_odbc_result extends CI_DB_result {
{
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 @@ class CI_DB_odbc_result extends CI_DB_result {
*/
public function num_fields()
{
- return @odbc_num_fields($this->result_id);
+ return odbc_num_fields($this->result_id);
}
// --------------------------------------------------------------------