diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-03-16 07:19:05 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-03-16 07:19:05 +0000 |
commit | 90d222fe12b5e1099f7fd419d1704fc08edd5d4b (patch) | |
tree | e3008564e78c2325c85d85fce66d6258bf4ea5c0 | |
parent | a8465af3f8debfe1adc25a1937334a86b2028973 (diff) | |
download | forums-90d222fe12b5e1099f7fd419d1704fc08edd5d4b.tar forums-90d222fe12b5e1099f7fd419d1704fc08edd5d4b.tar.gz forums-90d222fe12b5e1099f7fd419d1704fc08edd5d4b.tar.bz2 forums-90d222fe12b5e1099f7fd419d1704fc08edd5d4b.tar.xz forums-90d222fe12b5e1099f7fd419d1704fc08edd5d4b.zip |
More work on the oracle DB abstraction class
git-svn-id: file:///svn/phpbb/trunk@101 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/db/oracle.php | 10 |
1 files 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 { |