summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-28 18:02:13 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-28 18:02:13 +0100
commit55bbd7207d5276a7546e60f28c4c31325bab2b5e (patch)
tree7523fe1b51bdacf82832229f8e3a350dcbb04a66
parentbc92262992b606847eb1e764a0ab1cdef0aa12e3 (diff)
Fix issue #2179
-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 ac377d996..c7bc4a699 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -937,7 +937,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
$this->qb_where[] = array('condition' => $like_statement, 'escape' => $escape);
if ($this->qb_caching === TRUE)
{
- $this->qb_cache_where[] = $like_statement;
+ $this->qb_cache_where[] = array('condition' => $like_statement, 'escape' => $escape);
$this->qb_cache_exists[] = 'where';
}
}