Adding text & background color to persist options (see #18)

This commit is contained in:
Gregwar 2014-05-07 17:18:57 +02:00
parent f2e07fe6f2
commit 35cbc6226c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class CaptchaType extends AbstractType
)); ));
$persistOptions = array(); $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]; $persistOptions[$key] = $options[$key];
} }