From 9a4d1da5fa823b6bb58cdd1d210f782e95830e91 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 25 Feb 2008 14:18:38 +0000 Subject: Fixed an AR_caching error where it wasn't tracking table aliases (#3463) --- system/database/DB_active_rec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/database/DB_active_rec.php') 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)); } } -- cgit v1.2.3-24-g4f1b