summaryrefslogtreecommitdiffstats
path: root/system/database/DB_query_builder.php
diff options
context:
space:
mode:
authorGeorge Petculescu <gxgpet@users.noreply.github.com>2022-11-06 15:05:57 +0100
committerGitHub <noreply@github.com>2022-11-06 15:05:57 +0100
commitca889b00ef4d561b181e1df383b91c1f28e3501f (patch)
tree32dd08026e010924b2183710d241221ee231bea2 /system/database/DB_query_builder.php
parent9b8f2b7a8405acd1b8ad5956ada3d84472b1e8ae (diff)
parent8d80bef64b79f6cddc1e631760d862c563b525bf (diff)
Merge pull request #6150 from orionstar/develop
fixes #6149 + removing deprecated variable variables in general
Diffstat (limited to 'system/database/DB_query_builder.php')
-rw-r--r--system/database/DB_query_builder.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index e57333ff9..de6aa04fc 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -692,11 +692,11 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
$k = substr($k, 0, $match[0][1]).($match[1][0] === '=' ? ' IS NULL' : ' IS NOT NULL');
}
- ${$qb_key} = array('condition' => $prefix.$k, 'value' => $v, 'escape' => $escape);
- $this->{$qb_key}[] = ${$qb_key};
+ $$qb_key = array('condition' => $prefix.$k, 'value' => $v, 'escape' => $escape);
+ $this->{$qb_key}[] = $$qb_key;
if ($this->qb_caching === TRUE)
{
- $this->{$qb_cache_key}[] = ${$qb_key};
+ $this->{$qb_cache_key}[] = $$qb_key;
$this->qb_cache_exists[] = substr($qb_key, 3);
}