From a9237cb4ec63c8bc2e9dff911406c8c60aef7213 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Sat, 18 Jan 2014 19:07:20 +0200 Subject: Fix 2 Router-related errors --- system/core/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core/Router.php') 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)); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b