_protect_identifiers() to protect_identifier()
diff --git a/system/database/drivers/sqlite3/sqlite3_driver.php b/system/database/drivers/sqlite3/sqlite3_driver.php
index 0db366e..6affb87 100644
--- a/system/database/drivers/sqlite3/sqlite3_driver.php
+++ b/system/database/drivers/sqlite3/sqlite3_driver.php
@@ -303,8 +303,8 @@
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;
}