fixed bug where active record override wasn't being honored properly
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 781c83c..710c5c1 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -198,7 +198,7 @@
* @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();