[CaptchaType] Adding length to the persisted options to work with as_url

(see #49)
This commit is contained in:
Gregwar 2013-02-12 11:23:22 +01:00
parent 19142f30e4
commit 45e4f72394
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class CaptchaType extends AbstractType
));
$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];
}