Permalink
Browse files

fixed a bug with array key overload

  • Loading branch information...
1 parent e738906 commit d1c34df4d64e63591793b73179ff21953071fd06 @kemo kemo committed Aug 20, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 classes/kohana/pagination.php
View
5 classes/kohana/pagination.php
@@ -227,9 +227,8 @@ public function url($page = 1)
case 'route':
- return URL::site($this->_route->uri($this->_route_params +
- array($this->config['current_page']['key'] => $page)).
- $this->query());
+ return URL::site($this->_route->uri(array_merge($this->_route_params,
+ array($this->config['current_page']['key'] => $page))).$this->query());
}
return '#';

0 comments on commit d1c34df

Please sign in to comment.