aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/oracle.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db/oracle.php')
-rw-r--r--phpBB/db/oracle.php10
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
{