mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 10:32:40 +00:00
Fixed #2615
This commit is contained in:
parent
420a2f56df
commit
c0b2d8ad9d
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ class CakeRequest implements ArrayAccess {
|
|||
public function here($base = true) {
|
||||
$url = $this->here;
|
||||
if (!empty($this->query)) {
|
||||
$url .= '?' . http_build_query($this->query);
|
||||
$url .= '?' . http_build_query($this->query, null, '&');
|
||||
}
|
||||
if (!$base) {
|
||||
$url = preg_replace('/^' . preg_quote($this->base, '/') . '/', '', $url, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue