Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed a bug with array key overload

  • Loading branch information...
commit d1c34df4d64e63591793b73179ff21953071fd06 1 parent e738906
@kemo kemo authored
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 '#';
Please sign in to comment.
Something went wrong with that request. Please try again.