Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another router fix for the dumbest usage of callbacks ever

  • Loading branch information...
commit e2b0754c4ea3fe227bc80a546f4d5cbd88a1e24e 1 parent da5562a
Andrey Andreev narfbg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/core/Router.php
2  system/core/Router.php
@@ -327,7 +327,7 @@ protected function _parse_routes()
$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]));
Please sign in to comment.
Something went wrong with that request. Please try again.