summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-02-25 15:18:38 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-02-25 15:18:38 +0100
commit9a4d1da5fa823b6bb58cdd1d210f782e95830e91 (patch)
treeef9737987a75afadaac4d525570ab3675301681c /system/database/DB_active_rec.php
parent80ddb6b70f97c8b08f02b0d8dcffbc6ab136555c (diff)
Fixed an AR_caching error where it wasn't tracking table aliases (#3463)
Diffstat (limited to 'system/database/DB_active_rec.php')
-rw-r--r--system/database/DB_active_rec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 263172a86..903584200 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -289,7 +289,7 @@ class CI_DB_active_record extends CI_DB_driver {
$this->ar_from[] = $this->_protect_identifiers($this->_track_aliases($val));
if ($this->ar_caching === TRUE)
{
- $this->ar_cache_from[] = $this->_protect_identifiers($val);
+ $this->ar_cache_from[] = $this->_protect_identifiers($this->_track_aliases($val));
}
}