From 9fb6dd19f74c72cb98b6108a42575a98d3a9ba0c Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Sat, 5 Dec 2009 15:32:48 +0000 Subject: tweak in database() to match change to $active_record variable --- system/libraries/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 710c5c148..60c495820 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -204,7 +204,7 @@ class CI_Loader { $CI =& get_instance(); // Do we even need to load the database class? - if (class_exists('CI_DB') AND $return == FALSE AND $active_record == FALSE AND isset($CI->db) AND is_object($CI->db)) + if (class_exists('CI_DB') AND $return == FALSE AND $active_record == NULL AND isset($CI->db) AND is_object($CI->db)) { return FALSE; } -- cgit v1.2.3-24-g4f1b