summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-15 11:07:04 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-15 11:07:04 +0200
commite10fb79a95e2b0594ae68560df8963f92fea86d7 (patch)
treef92e41ff9be6ef01d96396b8879f236164c4679c
parent8295c845a447b973ef27aec6ed41d4325af06a76 (diff)
Fix issue #1483
-rw-r--r--system/database/DB_query_builder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index f3e75cbeb..4c70ccc78 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -451,7 +451,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
}
// If the escape value was not set will will base it on the global setting
- $escape = $this->_protect_identifiers;
+ is_bool($escape) OR $escape = $this->_protect_identifiers;
foreach ($key as $k => $v)
{