summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/DB_query_builder.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index fb8514f5c..f0fe96c35 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -2561,14 +2561,13 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
{
$qb_variable = 'qb_'.$val;
$qb_cache_var = 'qb_cache_'.$val;
-
- $qb_new = $this->$qb_cache_var;
+ $qb_new = $this->$qb_cache_var;
foreach ($this->$qb_variable as &$qb_var)
{
in_array($qb_var, $qb_new, TRUE) OR $qb_new[] = $qb_var;
}
-
+
$this->$qb_variable = $qb_new;
}