diff options
author | Andrey Andreev <narf@devilix.net> | 2018-04-24 13:55:10 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2018-04-24 13:55:10 +0200 |
commit | a91c7a9f8406cee67474bd8a8c79e5098cc19e2d (patch) | |
tree | 89dc94af9ef09b2c50e6fe8189a9b0ecfc5af8e7 /system/database | |
parent | d9e066b3e462525ebb15089d6e99b01d5f29c8c8 (diff) | |
parent | 577e53feff2c7d9ea74c682e5795196c916e7687 (diff) |
Merge branch '3.1-stable' into develop
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_query_builder.php | 2 |
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) { |