[CaptchaType] Fixing getDefaultOptions for sf2.1 (fixes #16)

This commit is contained in:
Gregwar 2012-06-06 18:34:44 +02:00
parent 05868f8b08
commit 57ab1fe3f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;