added missing dot in ValidationListener as follow-up to #3922
This commit is contained in:
parent
ea2dd12a4f
commit
0f7835dc36
@ -41,7 +41,7 @@ class ValidationListener implements EventSubscriberInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (count($form->getExtraData()) > 0) {
|
if (count($form->getExtraData()) > 0) {
|
||||||
$form->addError(new FormError('This form should not contain extra fields'));
|
$form->addError(new FormError('This form should not contain extra fields.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($form->isRoot() && isset($_SERVER['CONTENT_LENGTH'])) {
|
if ($form->isRoot() && isset($_SERVER['CONTENT_LENGTH'])) {
|
||||||
|
Reference in New Issue
Block a user