diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-08 11:37:40 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-08 11:37:40 +0100 |
commit | e2b0754c4ea3fe227bc80a546f4d5cbd88a1e24e (patch) | |
tree | bdbbbe0c63b0c1a52118584a9286bb898597ce5e /system/core/Router.php | |
parent | da5562a4bd87ad8ea827298dbe60e850225cfe34 (diff) |
Another router fix for the dumbest usage of callbacks ever
Diffstat (limited to 'system/core/Router.php')
-rw-r--r-- | system/core/Router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 30bf39657..01f44bc83 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -327,7 +327,7 @@ class CI_Router { $uri = implode('/', $this->uri->segments); // Is there a literal match? If so we're done - if (isset($this->routes[$uri])) + if (isset($this->routes[$uri]) && is_string($this->routes[$uri])) { return $this->_set_request(explode('/', $this->routes[$uri])); } |