diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 68d6c9347..9133a4c3f 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -3107,7 +3107,7 @@ class FormHelper extends AppHelper { * @return void */ protected function _lastAction($url) { - $action = html_entity_decode($this->url($url), ENT_QUOTES); + $action = html_entity_decode($this->url($url, true), ENT_QUOTES); $query = parse_url($action, PHP_URL_QUERY); $query = $query ? '?' . $query : ''; $this->_lastAction = parse_url($action, PHP_URL_PATH) . $query;