From aa7f769c1e6f46171f2fbc15f43428207c02abcb Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 20 Dec 2007 14:38:56 +0000 Subject: fixed typo: $field_names[] vs $Ffield_names[] --- system/database/drivers/postgre/postgre_result.php | 2 +- system/database/drivers/sqlite/sqlite_result.php | 2 +- 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
  • Moved the safe mode and auth checks for the Email library into the constructor.
  • Changed the behaviour of variables submitted to the where() clause with no values to auto set "IS NULL"
  • Fixed a bug in highlight_pharse() that caused an error with slashes.
  • +
  • Fixed a bug: $field_names[] vs $Ffield_names[] in postgre and sqlite drivers
  • Fixed a bug in word_wrap() of the Text Helper that incorrectly referenced an object.
  • Fixed a bug in the Email library where some timezones were calculated incorrectly.
  • Fixed a bug in Validation where valid_ip() wasn't called properly.
  • -- cgit v1.2.3-24-g4f1b