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

diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 5f0c8fa..4d0e1c1 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -66,6 +66,7 @@
 <h3>Bugfixes for 1.6.2</h3>

 <ul>

     <li>Fixed assorted user guide typos (#3453)</li>

+	<li>Fixed a bug in the DB class testing the $params argument</li>

 </ul>

 <h2>Version 1.6.1</h2>

 <p>Release Date: February 12, 2008</p>