commit | a9237cb4ec63c8bc2e9dff911406c8c60aef7213 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Sat Jan 18 19:07:20 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Sat Jan 18 19:07:20 2014 +0200 |
tree | 9c55f9f9b6ee47cf6b7d0fd9346676bdf2f214a6 | |
parent | a4399051455f844f432ac453fb9c3202c4464cf2 [diff] [blame] |
Fix 2 Router-related errors
diff --git a/system/core/Router.php b/system/core/Router.php index e3c9115..6335240 100644 --- a/system/core/Router.php +++ b/system/core/Router.php
@@ -446,7 +446,7 @@ // 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)); } // --------------------------------------------------------------------