[TwigBridge] removed superflous ; when rendering form_enctype() (closes #8660)
This commit is contained in:
parent
615bd0ba7d
commit
572ba68338
@ -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