commit | f186e1f0af1dc0941b21e1667ff2a22f739a0dcb | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Thu Sep 18 12:05:59 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Thu Sep 18 12:05:59 2014 +0300 |
tree | 6761653eb111927b5de54eea1ac93d0636ebd9c5 | |
parent | 607d5e287a24403e4578a69f8065d0ede8cce56e [diff] |
Fix #3242
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index 4e37e4c..4b3aa4d 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php
@@ -664,7 +664,7 @@ 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)))