Update CaptchaType.php
add getBlockPrefix for Symfony3 compatibility.
This commit is contained in:
@ -151,6 +151,14 @@ class CaptchaType extends AbstractType
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->getBlockPrefix();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'captcha';
|
||||
}
|
||||
|
Reference in New Issue
Block a user