summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/postgre/postgre_result.php2
-rw-r--r--system/database/drivers/sqlite/sqlite_result.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/postgre/postgre_result.php b/system/database/drivers/postgre/postgre_result.php
index 9938d4069..9fd2a7e93 100644
--- a/system/database/drivers/postgre/postgre_result.php
+++ b/system/database/drivers/postgre/postgre_result.php
@@ -65,7 +65,7 @@ class CI_DB_postgre_result extends CI_DB_result {
$field_names = array();
for ($i = 0; $i < $this->num_fields(); $i++)
{
- $Ffield_names[] = pg_field_name($this->result_id, $i);
+ $field_names[] = pg_field_name($this->result_id, $i);
}
return $field_names;
diff --git a/system/database/drivers/sqlite/sqlite_result.php b/system/database/drivers/sqlite/sqlite_result.php
index 9a2e2b6e8..caa167813 100644
--- a/system/database/drivers/sqlite/sqlite_result.php
+++ b/system/database/drivers/sqlite/sqlite_result.php
@@ -65,7 +65,7 @@ class CI_DB_sqlite_result extends CI_DB_result {
$field_names = array();
for ($i = 0; $i < $this->num_fields(); $i++)
{
- $Ffield_names[] = sqlite_field_name($this->result_id, $i);
+ $field_names[] = sqlite_field_name($this->result_id, $i);
}
return $field_names;