From 7709aca4a8325da5906a7585a831456cbd8abf47 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Wed, 22 Oct 2008 21:07:22 +0000 Subject: Fixed a bug in the table_exists function --- system/database/DB_driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 1682b5963..07c19c51b 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -767,7 +767,7 @@ class CI_DB_driver { */ function table_exists($table_name) { - return ( ! in_array($this->_protect_identifiers($table_name, TRUE, NULL, FALSE), $this->list_tables())) ? FALSE : TRUE; + return ( ! in_array($this->_protect_identifiers($table_name, TRUE, FALSE, FALSE), $this->list_tables())) ? FALSE : TRUE; } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b