summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Petsagourakis <petsagouris@gmail.com>2012-04-28 10:16:18 +0200
committerGeorge Petsagourakis <petsagouris@gmail.com>2012-04-28 10:16:18 +0200
commit193d448eec149b9b26c89a157c9394266a18ffae (patch)
tree9025f21cda9ea2781a6eaab66bd9c80818560678
parentb3d7443021c948134f14dfa83afda39f0f51fc80 (diff)
Minor assignment fix.
Can not use $array[] for reading.
-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 393a1cd75..d0af66de1 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -281,7 +281,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
$v = trim($v);
$this->_track_aliases($v);
- $v = $this->qb_from[] = $this->protect_identifiers($v, TRUE, NULL, FALSE);
+ $this->qb_from[] = $v = $this->protect_identifiers($v, TRUE, NULL, FALSE);
if ($this->qb_caching === TRUE)
{