diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-16 13:35:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-16 13:35:22 +0100 |
commit | 53921cab6f979bedef6deb837aea54f354b1f7e6 (patch) | |
tree | caddb938e7733773c4636384f8b4682b54dd32f9 /system/database/drivers/sqlite3/sqlite3_result.php | |
parent | 5cbecb3865c84967692324f283b0bebd7c8efb38 (diff) |
Replaced a method with a variable
Diffstat (limited to 'system/database/drivers/sqlite3/sqlite3_result.php')
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_result.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_result.php b/system/database/drivers/sqlite3/sqlite3_result.php index c9876fe69..e8e3706cd 100644 --- a/system/database/drivers/sqlite3/sqlite3_result.php +++ b/system/database/drivers/sqlite3/sqlite3_result.php @@ -83,7 +83,7 @@ class CI_DB_sqlite3_result extends CI_DB_result { public function list_fields() { $field_names = array(); - for ($i = 0, $c = $this->num_fields(); $i < $this->num_fields(); $i++) + for ($i = 0, $c = $this->num_fields(); $i < $c; $i++) { $field_names[] = $this->result_id->columnName($i); } |