mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Possible fix for _lastAction method
This commit is contained in:
parent
197c2f4e60
commit
1ccdc21d5b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue