summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-18 18:07:20 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-18 18:07:20 +0100
commita9237cb4ec63c8bc2e9dff911406c8c60aef7213 (patch)
tree9c55f9f9b6ee47cf6b7d0fd9346676bdf2f214a6 /system
parenta4399051455f844f432ac453fb9c3202c4464cf2 (diff)
Fix 2 Router-related errors
Diffstat (limited to 'system')
-rw-r--r--system/core/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Router.php b/system/core/Router.php
index e3c911511..633524023 100644
--- a/system/core/Router.php
+++ b/system/core/Router.php
@@ -446,7 +446,7 @@ class CI_Router {
// If we got this far it means we didn't encounter a
// matching route so we'll set the site default route
- $this->_set_request($this->uri->segments);
+ $this->_set_request(array_values($this->uri->segments));
}
// --------------------------------------------------------------------