diff options
author | ftwbzhao <b.zhao1@gmail.com> | 2015-07-05 15:25:32 +0200 |
---|---|---|
committer | ftwbzhao <b.zhao1@gmail.com> | 2015-07-05 15:25:32 +0200 |
commit | 820f06f63de3da890a87a88161daea0fd1be8caa (patch) | |
tree | f3660e14ad3b4c866ade0def53204dfeccdeacd7 /system/database/drivers | |
parent | 59a253d0776275994af0fda9ad729abb8607b4d5 (diff) |
fix pdo/sqlite & update changelog
Diffstat (limited to 'system/database/drivers')
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php b/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php index d5ca741fd..409e6501b 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php +++ b/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php @@ -140,7 +140,7 @@ class CI_DB_pdo_sqlite_driver extends CI_DB_pdo_driver { } $this->data_cache['field_names'][$table] = array(); - foreach ($result as $row) + foreach ($result->result_array() as $row) { $this->data_cache['field_names'][$table][] = $row['name']; } |