summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_odbc.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-20 23:13:26 +0200
committeradmin <devnull@localhost>2006-09-20 23:13:26 +0200
commite348efb92de213fcfbc312993d8b21a30eb280c0 (patch)
treec9e8f65a883208448c01813eb300277f9773030c /system/drivers/DB_odbc.php
parent480da81d6111a5c1faf4433707ee8d3b3de8031e (diff)
Diffstat (limited to 'system/drivers/DB_odbc.php')
-rw-r--r--system/drivers/DB_odbc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/drivers/DB_odbc.php b/system/drivers/DB_odbc.php
index a5a8db64d..57cdbced8 100644
--- a/system/drivers/DB_odbc.php
+++ b/system/drivers/DB_odbc.php
@@ -420,7 +420,7 @@ class CI_DB_odbc_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 = odbc_field_name($this->result_id, $i);
$F->type = odbc_field_type($this->result_id, $i);
$F->max_length = odbc_field_len($this->result_id, $i);