Adding background_images
in persisted options (fixes #175)
This commit is contained in:
parent
b787a8002e
commit
8ce4adb1b1
@ -113,7 +113,8 @@ class CaptchaType extends AbstractType
|
||||
));
|
||||
|
||||
$persistOptions = array();
|
||||
foreach (array('phrase', 'width', 'height', 'distortion', 'length', 'quality', 'background_color', 'text_color') as $key) {
|
||||
foreach (array('phrase', 'width', 'height', 'distortion', 'length',
|
||||
'quality', 'background_color', 'background_images', 'text_color') as $key) {
|
||||
$persistOptions[$key] = $options[$key];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user