summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql/mssql_result.php
diff options
context:
space:
mode:
authorGabriel Potkány <gadelat@gmail.com>2015-02-04 10:34:24 +0100
committerGabriel Potkány <gadelat@gmail.com>2015-02-04 10:34:24 +0100
commit8194ce50c3eae0f371e338d9093b99e2ff1b4d16 (patch)
treec65d3836cb64f9281d46dd36e35ad99830620b45 /system/database/drivers/mssql/mssql_result.php
parent9cec91be05e13f292f73e59dd08febf5e32859d8 (diff)
Fix typos in func names
Diffstat (limited to 'system/database/drivers/mssql/mssql_result.php')
-rw-r--r--system/database/drivers/mssql/mssql_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mssql/mssql_result.php b/system/database/drivers/mssql/mssql_result.php
index 8828dc9e6..c1c42a486 100644
--- a/system/database/drivers/mssql/mssql_result.php
+++ b/system/database/drivers/mssql/mssql_result.php
@@ -107,7 +107,7 @@ class CI_DB_mssql_result extends CI_DB_result {
public function field_data()
{
$retval = array();
- for ($i = 0, $c = $this->num_field(); $i < $c; $i++)
+ for ($i = 0, $c = $this->num_fields(); $i < $c; $i++)
{
$field = mssql_fetch_field($this->result_id, $i);