summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-06 14:31:02 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-06 14:31:02 +0100
commita4c33fe97910c92f9bc53570722b5b81108e64d7 (patch)
tree74ffd65c83aaf84132c0ca80952ea128394b65eb /system/database
parent7869559a56f0974c1bcf42d6ebd13bd872b3421c (diff)
Made _protect_identifiers public
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_driver.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 7bb5dfabe..3977b35c1 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1221,13 +1221,16 @@ class CI_DB_driver {
* insert the table prefix (if it exists) in the proper position, and escape only
* the correct identifiers.
*
+ * While this should be protected, the db forge drivers apparently use this instead
+ * of the unprefixed function
+ *
* @param string
* @param bool
* @param mixed
* @param bool
* @return string
*/
- protected function _protect_identifiers($item, $prefix_single = FALSE, $protect_identifiers = NULL, $field_exists = TRUE)
+ public function _protect_identifiers($item, $prefix_single = FALSE, $protect_identifiers = NULL, $field_exists = TRUE)
{
if ( ! is_bool($protect_identifiers))
{