summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-09-18 11:05:59 +0200
committerAndrey Andreev <narf@devilix.net>2014-09-18 11:05:59 +0200
commitf186e1f0af1dc0941b21e1667ff2a22f739a0dcb (patch)
tree6761653eb111927b5de54eea1ac93d0636ebd9c5 /system
parent607d5e287a24403e4578a69f8065d0ede8cce56e (diff)
Fix #3242
Diffstat (limited to 'system')
-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 4e37e4c03..4b3aa4d6c 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -664,7 +664,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
else
{
$operator = $this->_get_operator($k);
- if (stripos($operator, 'NULL') === FALSE)
+ if (stripos($operator, 'NULL') === FALSE && strncasecmp(ltrim($operator), 'IN', 2) !== 0)
{
$op = strrpos($k, $operator);
if (strlen($k) === ($op + strlen($operator)))