From e348efb92de213fcfbc312993d8b21a30eb280c0 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 20 Sep 2006 21:13:26 +0000 Subject: --- system/drivers/DB_postgre.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/drivers/DB_postgre.php') diff --git a/system/drivers/DB_postgre.php b/system/drivers/DB_postgre.php index aa7ec7020..57ef179d9 100644 --- a/system/drivers/DB_postgre.php +++ b/system/drivers/DB_postgre.php @@ -456,7 +456,7 @@ class CI_DB_postgre_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 = pg_field_name($this->result_id, $i); $F->type = pg_field_type($this->result_id, $i); $F->max_length = pg_field_size($this->result_id, $i); -- cgit v1.2.3-24-g4f1b