Permalink
Browse files

Fixing issue where _method would be remembered as a field.

  • Loading branch information...
1 parent 2587044 commit f5b3549018f7338f984919d921b6b5241f2aa1d4 @markstory markstory committed Jun 25, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/View/Helper/FormHelper.php
@@ -352,6 +352,7 @@ public function create($model = null, $options = array()) {
$append = $this->Html->useTag('block', ' style="display:none;"', $append);
}
+ $this->setEntity($model, true);
return $this->Html->useTag('form', $action, $htmlAttributes) . $append;
}

0 comments on commit f5b3549

Please sign in to comment.