Renaming view variable to image_id to avoid collision with the field id (see #43)
This commit is contained in:
@ -93,7 +93,7 @@ class CaptchaType extends AbstractType
|
||||
'captcha_width' => $options['width'],
|
||||
'captcha_height' => $options['height'],
|
||||
'reload' => $options['reload'],
|
||||
'id' => uniqid('captcha_'),
|
||||
'image_id' => uniqid('captcha_'),
|
||||
'captcha_code' => $this->generator->getCaptchaCode($this->key, $options),
|
||||
'value' => '',
|
||||
'is_human' => $isHuman
|
||||
|
Reference in New Issue
Block a user