From d4954d9ad08c5f221d89397e532e23ebee6d5fe0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 3 Nov 2024 02:28:43 +0100 Subject: [PATCH] Replace short class name with full class name --- Form/RegisterType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/RegisterType.php b/Form/RegisterType.php index 00c17b2..def9e71 100644 --- a/Form/RegisterType.php +++ b/Form/RegisterType.php @@ -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'); -- 2.41.1