diff options
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 4 | ||||
-rw-r--r-- | system/database/drivers/sqlite/sqlite_driver.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 1ad05a793..cd0e09577 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -244,7 +244,7 @@ class CI_DB_oci8_driver extends CI_DB { if ($this->db_debug) { log_message('error', 'Invalid query: '.$package.'.'.$procedure); - return $this->db->display_error('db_invalid_query'); + return $this->display_error('db_invalid_query'); } return FALSE; } @@ -443,7 +443,7 @@ class CI_DB_oci8_driver extends CI_DB { function insert_id() { // not supported in oracle - return $this->db->display_error('db_unsupported_function'); + return $this->display_error('db_unsupported_function'); } // -------------------------------------------------------------------- diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php index 4309c1656..c08ed2a56 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -63,7 +63,7 @@ class CI_DB_sqlite_driver extends CI_DB { if ($this->db_debug) { - $this->db->display_error($error, '', TRUE); + $this->display_error($error, '', TRUE); } return FALSE; @@ -88,7 +88,7 @@ class CI_DB_sqlite_driver extends CI_DB { if ($this->db_debug) { - $this->db->display_error($error, '', TRUE); + $this->display_error($error, '', TRUE); } return FALSE; |