Skip to content

Commit

Permalink
Fixing issue where _method would be remembered as a field.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 25, 2011
1 parent 2587044 commit f5b3549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/View/Helper/FormHelper.php
Expand Up @@ -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;
}

Expand Down

0 comments on commit f5b3549

Please sign in to comment.