X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/8b1da3957891754cde261e74aa0ad8c046651b6a..5bb3e32a5cf76401be2fe4c14195a1baa4c3045b:/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');