From ffca6c2202f89249d3bc50b5645b94c772ff3b0d Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Sat, 5 Dec 2009 15:31:44 +0000 Subject: fixed bug where active record override wasn't being honored properly --- system/libraries/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Loader.php') diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 781c83c65..710c5c148 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -198,7 +198,7 @@ class CI_Loader { * @param bool whether to enable active record (this allows us to override the config setting) * @return object */ - function database($params = '', $return = FALSE, $active_record = FALSE) + function database($params = '', $return = FALSE, $active_record = NULL) { // Grab the super object $CI =& get_instance(); -- cgit v1.2.3-24-g4f1b