From 90d222fe12b5e1099f7fd419d1704fc08edd5d4b Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Fri, 16 Mar 2001 07:19:05 +0000 Subject: [PATCH] More work on the oracle DB abstraction class git-svn-id: file:///svn/phpbb/trunk@101 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/oracle.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/phpBB/db/oracle.php b/phpBB/db/oracle.php index 44138bbbf0..1f2c6f6975 100644 --- a/phpBB/db/oracle.php +++ b/phpBB/db/oracle.php @@ -193,8 +193,14 @@ class sql_db } if($query_id) { - $result = OCIFetchInto($query_id, &$this->row[$query_id], OCI_ASSOC); - return $this->row[$query_id]; + $result = OCIFetchInto($query_id, &$this->row[$query_id], OCI_ASSOC); + for($i = 0; $i < count($this->row[$query_id]); $i++) + { + list($key, $val) = each($this->row[$query_id]); + $return_arr[strtolower($key)] = $val; + } + $this->row[$query_id] = $return_arr; + return $this->row[$query_id]; } else {