summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/URI.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/core/URI.php b/system/core/URI.php
index 40eaaeb6b..72f293c18 100644
--- a/system/core/URI.php
+++ b/system/core/URI.php
@@ -501,6 +501,7 @@ class CI_URI {
}
// Cache the array for reuse
+ isset($this->keyval[$which]) OR $this->keyval[$which] = array();
$this->keyval[$which][$n] = $retval;
return $retval;
}