merged branch craue/patch-21 (PR #4340)
Commits -------0f7835d
added missing dot in ValidationListener as follow-up to #3922 Discussion ---------- added missing dot in ValidationListener as follow-up to #3922 added missing dot in ValidationListener as follow-up to #3922 --------------------------------------------------------------------------- by travisbot at 2012-05-19T13:35:28Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1374601) (merged0f7835dc
intoea2dd12a
).
This commit is contained in:
commit
22294617ad
@ -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