diff options
-rw-r--r-- | system/database/drivers/postgre/postgre_result.php | 2 | ||||
-rw-r--r-- | system/database/drivers/sqlite/sqlite_result.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
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 "IS NULL"</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>
|