mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fixing issue where _method would be remembered as a field.
This commit is contained in:
parent
25870441bc
commit
f5b3549018
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ class FormHelper extends AppHelper {
|
||||||
$append = $this->Html->useTag('block', ' style="display:none;"', $append);
|
$append = $this->Html->useTag('block', ' style="display:none;"', $append);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->setEntity($model, true);
|
||||||
return $this->Html->useTag('form', $action, $htmlAttributes) . $append;
|
return $this->Html->useTag('form', $action, $htmlAttributes) . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue