X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/8b1da3957891754cde261e74aa0ad8c046651b6a..2361fd9ab05767886f84cde6f8b3199fd323ebf7:/Form/RegisterType.php diff --git a/Form/RegisterType.php b/Form/RegisterType.php index 06e5f36..199e3d9 100644 --- a/Form/RegisterType.php +++ b/Form/RegisterType.php @@ -67,7 +67,7 @@ class RegisterType extends BaseRegisterType { parent::configureOptions($resolver); //Set defaults - $resolver->setDefaults(['city' => true, 'country' => true, 'country_class' => 'RapsysAirBundle:Country', 'country_default' => null, 'country_favorites' => [], 'phone' => true, 'pseudonym' => true, 'zipcode' => true]); + $resolver->setDefaults(['city' => true, 'country' => true, 'country_class' => 'Rapsys\AirBundle\Entity\Country', 'country_default' => null, 'country_favorites' => [], 'phone' => true, 'pseudonym' => true, 'zipcode' => true]); //Add extra city option $resolver->setAllowedTypes('city', 'boolean');