summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Tcholakov <ivantcholakov@gmail.com>2014-08-22 11:00:05 +0200
committerIvan Tcholakov <ivantcholakov@gmail.com>2014-08-22 11:00:05 +0200
commita3cc8084a73e2c58a9ac38963bf7f60ba50d213e (patch)
tree1ae052fd65284e47f559e9485fbfe097d7485bbe
parent7e6aba1484f1b9a32bf97f2a9a654a503c8eb86f (diff)
Query builder, IS NOT NULL support #3194: Strict comparison.
-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 c75a46908..69dc8c2d1 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -665,7 +665,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
{
$operator = trim($this->_get_operator($k));
- if ($operator == '<>' OR $operator == '!=')
+ if ($operator === '<>' OR $operator === '!=')
{
$k = str_replace($operator, ' IS NOT NULL', $k);
}