POST_BIND deprecated
POST_BIND deprecated since version 2.3, to be removed in 3.0. Use POST_SUBMIT instead.
This commit is contained in:
parent
0f5e9870f1
commit
3cc4b072c3
|
@ -71,7 +71,7 @@ class CaptchaType extends AbstractType
|
||||||
$options['humanity']
|
$options['humanity']
|
||||||
);
|
);
|
||||||
|
|
||||||
$builder->addEventListener(FormEvents::POST_BIND, array($validator, 'validate'));
|
$builder->addEventListener(FormEvents::POST_SUBMIT, array($validator, 'validate'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue