merged branch fabpot/form_enctype-fix (PR #8731)
This PR was merged into the 2.3 branch.
Discussion
----------
form_enctype() fix (closes #8660)
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #8660
| License | MIT
| Doc PR | n/a
Commits
-------
572ba68
[TwigBridge] removed superflous ; when rendering form_enctype() (closes #8660)
This commit is contained in:
commit
df5a32af70
@ -23,8 +23,6 @@ class FormEnctypeNode extends SearchAndRenderBlockNode
|
|||||||
{
|
{
|
||||||
parent::compile($compiler);
|
parent::compile($compiler);
|
||||||
|
|
||||||
$compiler->raw(";\n");
|
|
||||||
|
|
||||||
// Uncomment this as soon as the deprecation note should be shown
|
// Uncomment this as soon as the deprecation note should be shown
|
||||||
// $compiler->write('trigger_error(\'The helper form_enctype(form) is deprecated since version 2.3 and will be removed in 3.0. Use form_start(form) instead.\', E_USER_DEPRECATED)');
|
// $compiler->write('trigger_error(\'The helper form_enctype(form) is deprecated since version 2.3 and will be removed in 3.0. Use form_start(form) instead.\', E_USER_DEPRECATED)');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user