commit | a0e86293949ff7761cca573853e54146d76f9ba7 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Sun Oct 26 22:46:55 2008 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Sun Oct 26 22:46:55 2008 +0000 |
tree | 052316b67913584a8e2697c7977eccb3e5dde416 | |
parent | 1358485a01d9d0137b59dc2edc6249c42025e26b [diff] [blame] |
Fixed a bug in which identifers were not being escaped properly when reserved characters were used
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 866b956..dbd82db 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php
@@ -1302,7 +1302,7 @@ $item = $this->dbprefix.$item; } } - + if ($protect_identifiers === TRUE AND ! in_array($item, $this->_reserved_identifiers)) { $item = $this->_escape_identifiers($item);