Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing issue where _method would be remembered as a field.

  • Loading branch information...
commit f5b3549018f7338f984919d921b6b5241f2aa1d4 1 parent 2587044
Mark Story markstory authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/View/Helper/FormHelper.php
1  lib/Cake/View/Helper/FormHelper.php
View
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.