summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-08 11:37:40 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-08 11:37:40 +0100
commite2b0754c4ea3fe227bc80a546f4d5cbd88a1e24e (patch)
treebdbbbe0c63b0c1a52118584a9286bb898597ce5e /system/core
parentda5562a4bd87ad8ea827298dbe60e850225cfe34 (diff)
Another router fix for the dumbest usage of callbacks ever
Diffstat (limited to 'system/core')
-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 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]));
}