little protection in case an array is provided as the $params for the DB class
diff --git a/system/database/DB.php b/system/database/DB.php
index c3e7722..16ca1c8 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -46,7 +46,7 @@
 		

 		$params = $db[$active_group];			

 	}

-	else

+	elseif (is_string($params))

 	{

 		

 		/* parse the URL from the DSN string