From 642e31357aacba35d73143e14daf5be528b949cf Mon Sep 17 00:00:00 2001 From: Yannick Lyn Fatt Date: Mon, 13 Aug 2012 14:41:17 -0500 Subject: Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warning Fixes #1701 --- system/database/drivers/oci8/oci8_result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php index a2b600e6c..ade186be7 100644 --- a/system/database/drivers/oci8/oci8_result.php +++ b/system/database/drivers/oci8/oci8_result.php @@ -157,7 +157,7 @@ class CI_DB_oci8_result extends CI_DB_result { protected function _fetch_assoc() { $id = ($this->curs_id) ? $this->curs_id : $this->stmt_id; - return oci_fetch_assoc($id); + return @oci_fetch_assoc($id); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b