summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-20 19:04:48 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-20 19:04:48 +0100
commit53d109dbd831506c4b9ca77f10bc1b2dba9c28d5 (patch)
treead7caabdf995aa327e9d95b6232d9e564d184547 /system/database
parentfa84d6186b7f61353d04132871a5223f80fa12ee (diff)
Fix previous commit
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/interbase/interbase_result.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/database/drivers/interbase/interbase_result.php b/system/database/drivers/interbase/interbase_result.php
index c7b40d2ea..de4a10b62 100644
--- a/system/database/drivers/interbase/interbase_result.php
+++ b/system/database/drivers/interbase/interbase_result.php
@@ -236,7 +236,11 @@ class CI_DB_interbase_result extends CI_DB_result {
// the result object to an array if need be
if(count($this->result_object) > 0)
{
- $this->result_array = (array)$this->result_object;
+ foreach($this->result_object as $obj)
+ {
+ $this->result_array[] = (array)$obj;
+ }
+
return $this->result_array;
}