summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/database/DB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index c3e7722d3..16ca1c888 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -46,7 +46,7 @@ function &DB($params = '', $active_record_override = FALSE)
$params = $db[$active_group];
}
- else
+ elseif (is_string($params))
{
/* parse the URL from the DSN string