[CaptchaType] Adding length to the persisted options to work with as_url
(see #49)
This commit is contained in:
parent
19142f30e4
commit
45e4f72394
|
@ -110,7 +110,7 @@ class CaptchaType extends AbstractType
|
||||||
));
|
));
|
||||||
|
|
||||||
$persistOptions = array();
|
$persistOptions = array();
|
||||||
foreach (array('phrase', 'width', 'height', 'distortion', 'quality') as $key) {
|
foreach (array('phrase', 'width', 'height', 'distortion', 'length', 'quality') as $key) {
|
||||||
$persistOptions[$key] = $options[$key];
|
$persistOptions[$key] = $options[$key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue