mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
fixes postLink form last action
https://github.com/cakephp/cakephp/issues/9392
This commit is contained in:
parent
0feb93f7a0
commit
5253f0b3bd
1 changed files with 1 additions and 1 deletions
|
@ -1888,7 +1888,7 @@ class FormHelper extends AppHelper {
|
|||
}
|
||||
|
||||
$previousLastAction = $this->_lastAction;
|
||||
$this->_lastAction($url);
|
||||
$this->_lastAction($formUrl);
|
||||
|
||||
$out = $this->Html->useTag('form', $formUrl, $formOptions);
|
||||
$out .= $this->Html->useTag('hidden', '_method', array(
|
||||
|
|
Loading…
Add table
Reference in a new issue