Fix an error from the previous commit
diff --git a/system/core/Input.php b/system/core/Input.php
index d1353e9..0c6025d 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -165,7 +165,7 @@
 		if (is_array($index))
 		{
 			$output = array();
-			foreach (array_keys($array) as $key)
+			foreach ($index as $key)
 			{
 				$output[$key] = $this->_fetch_from_array($array, $key, $xss_clean);
 			}