summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_sqlite.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_sqlite.php')
-rw-r--r--system/drivers/DB_sqlite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/drivers/DB_sqlite.php b/system/drivers/DB_sqlite.php
index 71d2561dc..48e2c8714 100644
--- a/system/drivers/DB_sqlite.php
+++ b/system/drivers/DB_sqlite.php
@@ -449,7 +449,7 @@ class CI_DB_sqlite_result extends CI_DB_result {
$retval = array();
for ($i = 0; $i < $this->num_fields(); $i++)
{
- $F = new CI_DB_field();
+ $F = new stdClass();
$F->name = sqlite_field_name($this->result_id, $i);
$F->type = 'varchar';
$F->max_length = 0;