Fixing issue where _method would be remembered as a field.

This commit is contained in:
Mark Story 2011-06-25 13:11:31 -04:00
parent 25870441bc
commit f5b3549018

View file

@ -352,6 +352,7 @@ class FormHelper extends AppHelper {
$append = $this->Html->useTag('block', ' style="display:none;"', $append);
}
$this->setEntity($model, true);
return $this->Html->useTag('form', $action, $htmlAttributes) . $append;
}