Skip to content
Browse files

Another router fix for the dumbest usage of callbacks ever

  • Loading branch information...
1 parent da5562a commit e2b0754c4ea3fe227bc80a546f4d5cbd88a1e24e @narfbg narfbg committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Router.php
View
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]));
}

0 comments on commit e2b0754

Please sign in to comment.
Something went wrong with that request. Please try again.