commit | 4e1241bbe6c0459c28d9a7cda89ef1c81dec1bd4 | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Wed Jan 30 21:00:33 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Wed Jan 30 21:00:33 2008 +0000 |
tree | 91e5ee98a2ba31440cb8de18f3c06de5ecb30f8c | |
parent | 72d61337496738d276d7671f0e07f201713aec6a [diff] |
added default value for $active_record when it's not set
diff --git a/system/database/DB.php b/system/database/DB.php index 8f25e5e..078f1ef 100644 --- a/system/database/DB.php +++ b/system/database/DB.php
@@ -65,7 +65,7 @@ require_once(BASEPATH.'database/DB_driver'.EXT); - if ($active_record == TRUE) + if (! isset($active_record) OR $active_record == TRUE) { require_once(BASEPATH.'database/DB_active_rec'.EXT);