From 7825526a596b0db6a15fac519cf45e2e929c684d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 6 Feb 2008 13:54:23 +0000 Subject: cache_stop() fix... --- system/database/DB_active_rec.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'system/database') diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index b3bf02a8b..263172a86 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -1449,10 +1449,7 @@ class CI_DB_active_record extends CI_DB_driver { */ function _compile_select($select_override = FALSE) { - if ($this->ar_caching === TRUE) - { - $this->_merge_cache(); - } + $this->_merge_cache(); $sql = ( ! $this->ar_distinct) ? 'SELECT ' : 'SELECT DISTINCT '; -- cgit v1.2.3-24-g4f1b