From 5253f0b3bd06f3a1e3cc776e6dd90116a5a108e4 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Mon, 5 Sep 2016 23:14:43 +0200 Subject: [PATCH] fixes postLink form last action https://github.com/cakephp/cakephp/issues/9392 --- lib/Cake/View/Helper/FormHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 6896e2b76..2ce4edb9a 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -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(