summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-22 23:07:22 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-22 23:07:22 +0200
commit7709aca4a8325da5906a7585a831456cbd8abf47 (patch)
tree6c92b4b5cc0081de0d5a02a947b2a2803dc30a29 /system
parentc95c7e9c10efea460b8c4ce03e3be241817625d3 (diff)
Fixed a bug in the table_exists function
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
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;
}
// --------------------------------------------------------------------