summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-12-20 15:38:56 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-12-20 15:38:56 +0100
commitaa7f769c1e6f46171f2fbc15f43428207c02abcb (patch)
treee5c5123f275d12a8573d61c1a8c1e8912c5bc117
parent026585710c5ad4c5a8e5544d177b6a870f56123e (diff)
fixed typo: $field_names[] vs $Ffield_names[]
-rw-r--r--system/database/drivers/postgre/postgre_result.php2
-rw-r--r--system/database/drivers/sqlite/sqlite_result.php2
-rw-r--r--user_guide/changelog.html1
3 files changed, 3 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;
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index f5f1ad28d..033824b56 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -86,6 +86,7 @@ Change Log
<li>Moved the safe mode and auth checks for the Email library into the constructor. </li>
<li>Changed the behaviour of variables submitted to the where() clause with no values to auto set &quot;IS NULL&quot;</li>
<li>Fixed a bug in <kbd>highlight_pharse()</kbd> that caused an error with slashes.</li>
+ <li>Fixed a bug: $field_names[] vs $Ffield_names[] in postgre and sqlite drivers</li>
<li>Fixed a bug in <kbd>word_wrap()</kbd> of the Text Helper that incorrectly referenced an object. </li>
<li>Fixed a bug in the <a href="./libraries/email.html">Email</a> library where some timezones were calculated incorrectly. </li>
<li>Fixed a bug in <a href="./libraries/validation.html">Validation</a> where <kbd>valid_ip()</kbd> wasn't called properly.</li>