Automated merge with http://hg.ellislab.com/CodeIgniter2
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 69b3da0..5a2175c 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -78,6 +78,16 @@
 	 */
 	function library($library = '', $params = NULL, $object_name = NULL)
 	{
+		if (is_array($library))
+		{
+			foreach($library as $read)
+			{
+				$this->library($read);	
+			}
+			
+			return;
+		}
+		
 		if ($library == '' OR isset($this->_base_classes[$library]))
 		{
 			return FALSE;
@@ -177,7 +187,7 @@
 				$CI->load->database($db_conn, FALSE, TRUE);
 			}
 
-			if ( ! class_exists('Model'))
+			if ( ! class_exists('CI_Model'))
 			{
 				load_class('Model', 'core');
 			}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 8c05257..5bfbee7 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -188,6 +188,7 @@
 	<li>Fixed a bug in the Email library where CC and BCC recipients were not reset when using the clear() method (#109).</li>
 	<li>Fixed a bug in the URL Helper where prep_url() could cause a PHP error on PHP versions &lt; 5.1.2.</li>
 	<li>Added a log message in core/output if the cache directory config value was not found.</li>
+	<li>Fixed a bug where multiple libraries could not be loaded by passing an array to load-&gt;library()</li>
 </ul>
 
 <h2>Version 1.7.2</h2>
diff --git a/user_guide/general/libraries.html b/user_guide/general/libraries.html
index cd83da7..4d6064f 100644
--- a/user_guide/general/libraries.html
+++ b/user_guide/general/libraries.html
@@ -69,6 +69,10 @@
 
 <p>Once initialized you can use it as indicated in the user guide page corresponding to that class.</p>
 
+<p>Additionally, multiple libraries can be loaded at the same time by passing an array of libraries to the load function.</p>
+
+<code>$this->load->library(array('<var>email</var>', '<var>table</var>'));</code>
+
 <h2>Creating Your Own Libraries</h2>
 
 <p>Please read the section of the user guide that discusses how to <a href="creating_libraries.html">create your own libraries</a></p>