summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite3/sqlite3_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-09 13:55:20 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-09 13:55:20 +0100
commit0aa9f2e86124194cd64fde098ba7a4169625d353 (patch)
tree434b27bfca76948d843c1d46291528a301eafca1 /system/database/drivers/sqlite3/sqlite3_driver.php
parent334fb92c1754e403c8308f4c2cb9492700d7b1a5 (diff)
_protect_identifiers() to protect_identifier()
Diffstat (limited to 'system/database/drivers/sqlite3/sqlite3_driver.php')
-rw-r--r--system/database/drivers/sqlite3/sqlite3_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_driver.php b/system/database/drivers/sqlite3/sqlite3_driver.php
index 0db366eb3..6affb8745 100644
--- a/system/database/drivers/sqlite3/sqlite3_driver.php
+++ b/system/database/drivers/sqlite3/sqlite3_driver.php
@@ -303,8 +303,8 @@ class CI_DB_sqlite3_driver extends CI_DB {
return 0;
}
- $result = $this->conn_id->querySingle($this->_count_string.$this->_protect_identifiers('numrows')
- .' FROM '.$this->_protect_identifiers($table, TRUE, NULL, FALSE));
+ $result = $this->conn_id->querySingle($this->_count_string.$this->protect_identifiers('numrows')
+ .' FROM '.$this->protect_identifiers($table, TRUE, NULL, FALSE));
return empty($result) ? 0 : (int) $result;
}