commit | a3cc8084a73e2c58a9ac38963bf7f60ba50d213e | [log] [tgz] |
---|---|---|
author | Ivan Tcholakov <ivantcholakov@gmail.com> | Fri Aug 22 12:00:05 2014 +0300 |
committer | Ivan Tcholakov <ivantcholakov@gmail.com> | Fri Aug 22 12:00:05 2014 +0300 |
tree | 1ae052fd65284e47f559e9485fbfe097d7485bbe | |
parent | 7e6aba1484f1b9a32bf97f2a9a654a503c8eb86f [diff] [blame] |
Query builder, IS NOT NULL support #3194: Strict comparison.
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index c75a469..69dc8c2 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php
@@ -665,7 +665,7 @@ { $operator = trim($this->_get_operator($k)); - if ($operator == '<>' OR $operator == '!=') + if ($operator === '<>' OR $operator === '!=') { $k = str_replace($operator, ' IS NOT NULL', $k); }