summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-26 23:46:55 +0100
committerRick Ellis <rick.ellis@ellislab.com>2008-10-26 23:46:55 +0100
commita0e86293949ff7761cca573853e54146d76f9ba7 (patch)
tree052316b67913584a8e2697c7977eccb3e5dde416 /system/database/DB_driver.php
parent1358485a01d9d0137b59dc2edc6249c42025e26b (diff)
Fixed a bug in which identifers were not being escaped properly when reserved characters were used
Diffstat (limited to 'system/database/DB_driver.php')
-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 866b95612..dbd82dbc4 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1302,7 +1302,7 @@ class CI_DB_driver {
$item = $this->dbprefix.$item;
}
}
-
+
if ($protect_identifiers === TRUE AND ! in_array($item, $this->_reserved_identifiers))
{
$item = $this->_escape_identifiers($item);