Fix #3733

Close #3734
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 007378e..9205ad1 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1307,10 +1307,7 @@
 			}
 
 			// Load all other libraries
-			foreach ($autoload['libraries'] as $item)
-			{
-				$this->library($item);
-			}
+			$this->library($autoload['libraries']);
 		}
 
 		// Autoload models