summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-12-02 17:04:41 +0100
committerAndrey Andreev <narf@devilix.net>2014-12-02 17:04:41 +0100
commit6b3bf4c026cb8cb85ce53a985c64b22006695ce6 (patch)
tree852ef3fc5a1c7bfb5a22aa4d5994e9058e1edb31
parentef29f83f786aa968be3d9b7b55ccdc45f33c475d (diff)
Fix an error from the previous commit
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index d1353e9dc..0c6025d1e 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -165,7 +165,7 @@ class CI_Input {
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);
}