summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-24 22:53:12 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-24 22:53:12 +0200
commit9093042c1f56bbdce2785ec5de0cd4180b4e6216 (patch)
tree6ebf65805448c3ab221a3e509d394b46dd713c6d /system/core
parent4a7cc768a836a12c4839e482715b3859e0c16d7d (diff)
Improve fix for #1811
Diffstat (limited to 'system/core')
-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;
}