From 9aa9cb4bb6d9ad21db25bf24e70ed35b92c0f1a9 Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 3 Jun 2006 20:34:40 +0000 Subject: DB stuff, nothing cool at all unless you use Oracle. git-svn-id: file:///svn/phpbb/trunk@6006 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db/oracle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/db/oracle.php') diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php index d9a7298c04..bef33b4fd2 100644 --- a/phpBB/includes/db/oracle.php +++ b/phpBB/includes/db/oracle.php @@ -314,12 +314,12 @@ class dbal_oracle extends dbal $stmt = @ociparse($this->db_connect_id, $query); @ociexecute($stmt, OCI_DEFAULT ); - $temp_result = @ocifetchinto($stmt, $temp_result, OCI_ASSOC + OCI_RETURN_NULLS); + $temp_result = @ocifetchinto($stmt, $temp_array, OCI_ASSOC + OCI_RETURN_NULLS); @ocifreestatement($stmt); if ($temp_result) { - return $temp_result['CURRVAL']; + return $temp_array['CURRVAL']; } else { -- cgit v1.2.1