summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 7424a003a..6ee132005 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -159,7 +159,7 @@ class CI_Input {
{
$value = $array[$index];
}
- else if(preg_match('/\[[^]]*\]$/', $index)) // Does the index contain array notation
+ elseif(preg_match('/\[[^]]*\]$/', $index)) // Does the index contain array notation
{
$key = $index;
$container = $array;