Adding text & background color to persist options (see #18)
This commit is contained in:
parent
f2e07fe6f2
commit
35cbc6226c
|
@ -122,7 +122,7 @@ class CaptchaType extends AbstractType
|
|||
));
|
||||
|
||||
$persistOptions = array();
|
||||
foreach (array('phrase', 'width', 'height', 'distortion', 'length', 'quality') as $key) {
|
||||
foreach (array('phrase', 'width', 'height', 'distortion', 'length', 'quality', 'background_color', 'text_color') as $key) {
|
||||
$persistOptions[$key] = $options[$key];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue