8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb00252 commit 9feae63Copy full SHA for 9feae63
src/Symfony/Component/Form/Extension/Csrf/EventListener/CsrfValidationListener.php
@@ -66,7 +66,7 @@ public function preSubmit(FormEve 72C5 nt $event)
66
if ($form->isRoot() && $form->getConfig()->getOption('compound') && !$postRequestSizeExceeded) {
67
$data = $event->getData();
68
69
- if (isset($data[$this->fieldName]) && null !== $data[$this->fieldName] && !\is_string($data[$this->fieldName])) {
+ if (isset($data[$this->fieldName]) && !\is_string($data[$this->fieldName])) {
70
unset($data[$this->fieldName]);
71
}
72
0 commit comments