small fix for kohana 3.1.2

This commit is contained in:
Sebastien Guibert 2011-03-14 16:13:56 +01:00
parent 4b25a97dae
commit bce79d53a8
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class Multilang_Request extends Kohana_Request {
* @param Kohana_Cache cache object
* @return Request
*/
public static function factory($uri = TRUE, Cache $cache = NULL)
public static function factory($uri = TRUE, Cache $cache = NULL, $injected_routes = array())
{
if(!Kohana::$is_cli)
{
@ -72,7 +72,7 @@ class Multilang_Request extends Kohana_Request {
$uri = (string) substr($uri, strlen(Request::$lang));
}
// Continue normal request processing with the URI without language*/
return parent::factory($uri, $cache);
return parent::factory($uri, $cache, $injected_routes);
}