]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Form/RegisterType.php
Replace index translation by users
[userbundle] / Form / RegisterType.php
index 00c17b2d53c173f53d07d8fd8c7d6fab48e6b3b1..def9e7120165276c448050405945ca30d7432714 100644 (file)
@@ -91,7 +91,7 @@ class RegisterType extends CaptchaType {
                parent::configureOptions($resolver);
 
                //Set defaults
-               $resolver->setDefaults(['error_bubbling' => true, 'civility' => true, 'civility_class' => 'RapsysUserBundle:Civility', 'civility_default' => null, 'mail' => true, 'password' => true, 'password_repeated' => true, 'forename' => true, 'surname' => true, 'active' => false, 'enable' => false]);
+               $resolver->setDefaults(['error_bubbling' => true, 'civility' => true, 'civility_class' => 'Rapsys\UserBundle\Entity\Civility', 'civility_default' => null, 'mail' => true, 'password' => true, 'password_repeated' => true, 'forename' => true, 'surname' => true, 'active' => false, 'enable' => false]);
 
                //Add extra civility option
                $resolver->setAllowedTypes('civility', 'boolean');