summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-04-24 13:55:10 +0200
committerAndrey Andreev <narf@devilix.net>2018-04-24 13:55:10 +0200
commita91c7a9f8406cee67474bd8a8c79e5098cc19e2d (patch)
tree89dc94af9ef09b2c50e6fe8189a9b0ecfc5af8e7 /system/database
parentd9e066b3e462525ebb15089d6e99b01d5f29c8c8 (diff)
parent577e53feff2c7d9ea74c682e5795196c916e7687 (diff)
Merge branch '3.1-stable' into develop
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 f9bfbb5b5..3b1df5475 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -1059,7 +1059,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
$v .= sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
- $qb_where = array('condition' => "{$prefix} {$k} {$not} LIKE", 'value' => $v, 'escape' => $escape);
+ $qb_where = array('condition' => "{$prefix} {$k} {$not} LIKE {$v}", 'value' => NULL, 'escape' => $escape);
$this->qb_where[] = $qb_where;
if ($this->qb_caching === TRUE)
{