summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index 27eb336f7..2b3ff3dc6 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -73,7 +73,7 @@ function &DB($params = '', $active_record_override = FALSE)
if (isset($dns['query']))
{
parse_str($dns['query'], $extra);
-
+
foreach($extra as $key => $val)
{
// booleans please
@@ -85,12 +85,12 @@ function &DB($params = '', $active_record_override = FALSE)
{
$val = FALSE;
}
-
+
$params[$key] = $val;
}
}
}
-
+
// No DB specified yet? Beat them senseless...
if ( ! isset($params['dbdriver']) OR $params['dbdriver'] == '')
{