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(