[CaptchaType] Fixing getDefaultOptions for sf2.1 (fixes #16)
This commit is contained in:
parent
05868f8b08
commit
57ab1fe3f5
@ -81,7 +81,7 @@ class CaptchaType extends AbstractType
|
||||
$view->set('value', '');
|
||||
}
|
||||
|
||||
public function getDefaultOptions(array $options = array())
|
||||
public function getDefaultOptions()
|
||||
{
|
||||
$this->options = array_replace($this->options, $options);
|
||||
$this->options['property_path'] = false;
|
||||
|
Loading…
Reference in New Issue
Block a user