summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-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)))