From c0b2d8ad9d20bc2b1a42d5d2704c86443ccf1191 Mon Sep 17 00:00:00 2001 From: vantienvnn Date: Fri, 24 Feb 2012 21:35:50 +0700 Subject: [PATCH] Fixed #2615 --- lib/Cake/Network/CakeRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/CakeRequest.php b/lib/Cake/Network/CakeRequest.php index 2d902ff7d..4080f127c 100644 --- a/lib/Cake/Network/CakeRequest.php +++ b/lib/Cake/Network/CakeRequest.php @@ -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);