Fixed a typo

This commit is contained in:
goohib 2012-08-22 23:41:29 +09:00
parent 7a233bc7a6
commit bca68ca605

View File

@ -65,7 +65,7 @@ class CsrfValidationListener implements EventSubscriberInterface
if ($form->isRoot() && $form->getConfig()->getOption('compound')) {
if (!isset($data[$this->fieldName]) || !$this->csrfProvider->isCsrfTokenValid($this->intention, $data[$this->fieldName])) {
$form->addError(new FormError('The CSRF token is invalid. Please try to resubmit the form'));
$form->addError(new FormError('The CSRF token is invalid. Please try to resubmit the form.'));
}
unset($data[$this->fieldName]);